stack-orchestrator/setup.py

33 lines
1.2 KiB
Python
Raw Permalink Normal View History

2022-08-23 17:32:55 +00:00
# See https://medium.com/nerd-for-tech/how-to-build-and-distribute-a-cli-tool-with-python-537ae41d9d78
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.read()
with open("stack_orchestrator/data/version.txt", "r", encoding="utf-8") as fh:
version = fh.readlines()[-1].strip(" \n")
2022-08-23 17:32:55 +00:00
setup(
2022-10-04 01:37:18 +00:00
name='laconic-stack-orchestrator',
version=version,
2022-10-04 01:37:18 +00:00
author='Cerc',
author_email='info@cerc.io',
license='GNU Affero General Public License',
description='Orchestrates deployment of the Laconic stack',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://git.vdb.to/cerc-io/stack-orchestrator',
py_modules=['stack_orchestrator'],
2022-10-04 01:37:18 +00:00
packages=find_packages(),
install_requires=[requirements],
2022-08-23 17:32:55 +00:00
python_requires='>=3.7',
2022-11-16 05:02:44 +00:00
include_package_data=True,
package_data={'': ['data/**']},
2022-08-23 17:32:55 +00:00
classifiers=[
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
],
2022-10-04 01:37:18 +00:00
entry_points={
'console_scripts': ['laconic-so=stack_orchestrator.main:cli'],
2022-08-24 17:57:35 +00:00
}
2022-08-23 17:32:55 +00:00
)