From dd270ebe3a7a22664ebde87491da2279a369a441 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Tue, 3 Aug 2021 20:06:08 -0600 Subject: [PATCH] Package Damm for distribution --- projects/damm/setup.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 projects/damm/setup.py diff --git a/projects/damm/setup.py b/projects/damm/setup.py new file mode 100644 index 0000000..2e0dd69 --- /dev/null +++ b/projects/damm/setup.py @@ -0,0 +1,36 @@ +from setuptools import find_packages, setup + + +here = path.abspath(path.dirname(__file__)) + +with open(path.join(here, "README.md"), encoding="utf-8") as f: + long_description = f.read() + + +setup( + name="arrdem.damm", + version="0.1.0", + description="An implementation of Damm check digits", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/arrdem/source", + author="Reid 'arrdem' McKenzie", + author_email="me@arrdem.com", + classifiers=[ + # Optional + # https://pypi.org/pypi?%3Aaction=list_classifiers + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.9", + ], + packages=[ + "damm", + ], + package_dir={"": "src/python"}, + python_requires=">=3.9", + extras_require={ # Optional + "dev": ["check-manifest"], + "test": ["pytest", "hypothesis"], + }, +)