chore: add poetry + setup.py

This commit is contained in:
2022-01-17 03:10:20 +00:00
parent 0f7592bb02
commit 631235f393
3 changed files with 55 additions and 0 deletions

8
poetry.lock generated Normal file
View File

@@ -0,0 +1,8 @@
package = []
[metadata]
lock-version = "1.1"
python-versions = "^3.7"
content-hash = "669741988c507fb04697bdb0c9077fa1b2342c356df6ae6c96baa3119a96a9ea"
[metadata.files]

17
pyproject.toml Normal file
View File

@@ -0,0 +1,17 @@
[tool.poetry]
name = "csops"
version = "0.1.0"
description = ""
authors = ["Daniel Tomlinson <dtomlinson@panaetius.co.uk>"]
[tool.poetry.dependencies]
python = "^3.7"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
"csops" = "csops.run:run"

30
setup.py Normal file
View File

@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
from setuptools import setup
packages = \
['csops']
package_data = \
{'': ['*']}
entry_points = \
{'console_scripts': ['csops = csops.run:run']}
setup_kwargs = {
'name': 'csops',
'version': '0.1.0',
'description': '',
'long_description': None,
'author': 'Daniel Tomlinson',
'author_email': 'dtomlinson@panaetius.co.uk',
'maintainer': None,
'maintainer_email': None,
'url': None,
'packages': packages,
'package_data': package_data,
'entry_points': entry_points,
'python_requires': '>=3.7,<4.0',
}
setup(**setup_kwargs)