From 4c86c197320a5f0e571cc1d47ffef632e4cc6221 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Thu, 9 Dec 2021 12:01:12 +0100 Subject: [PATCH] feat: setup py and docs --- README.md | 7 +++++++ setup.py | 26 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 setup.py diff --git a/README.md b/README.md index 6634908..afaf1ec 100644 --- a/README.md +++ b/README.md @@ -28,3 +28,10 @@ make_cards( ["tags"], ) ``` + +## publish it + +- bump the version number in [`pyproject.toml`](./pyproject.toml) +- `pip install poetry2setup && poetry2setup > setup.py` +- `git add . && git commit -m "chore: publish new version"` +- `poetry publish --build` diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0c6e394 --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +modules = \ +['temp_index'] +install_requires = \ +['calibrestekje>=0.0.3,<0.0.4', 'reportlab>=3.6.3,<4.0.0'] + +setup_kwargs = { + 'name': 'temp-index', + 'version': '0.2.0', + 'description': '', + 'long_description': None, + 'author': 'automatist', + 'author_email': None, + 'maintainer': None, + 'maintainer_email': None, + 'url': None, + 'py_modules': modules, + 'install_requires': install_requires, + 'python_requires': '>=3.9,<4.0', +} + + +setup(**setup_kwargs) +