From c2f3401bb4ce80328968ea8f9337a8ee9464ef6e Mon Sep 17 00:00:00 2001 From: Niels Vanspauwen Date: Thu, 15 Jun 2023 22:25:42 +0200 Subject: [PATCH] Add setuptools --- requirements.txt | 3 ++- setup.py | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/requirements.txt b/requirements.txt index e607517..9081d91 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ httpx aiofiles httpwatcher google-cloud-storage -boto3 \ No newline at end of file +boto3 +setuptools diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3601317 --- /dev/null +++ b/setup.py @@ -0,0 +1,28 @@ +from setuptools import setup, find_packages + +with open('requirements.txt') as f: + requirements = f.read().splitlines() + +setup( + name='pystructurizr', + version='0.1.0', + description='A Python DSL inspired by Structurizr, intended for generating C4 diagrams', + author='Niels Vanspauwen', + author_email='niels.vanspauwen@gmail.com', + packages=find_packages(), + install_requires=requirements, + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + ], + entry_points={ + 'console_scripts': [ + 'pystructurizr = pystructurizr.cli:cli' + ] + }, +) \ No newline at end of file