diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-15 17:13:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-15 17:13:53 +0300 |
| commit | 616b715e5329dab505f8d92f06b8a13f14aaab86 (patch) | |
| tree | 1d7fa8bc54c48121ce0b16871f79c146942ea427 /setup.py | |
| parent | 8da638260f689d7a3ee4a88c9435ef3e4a37a604 (diff) | |
Implement setuptools integration, fixes #2 (#7)
* Initial setup.py
* Add .gitignore
* Add setuptools entrypoint support
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e4caaca --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +import setuptools + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +setuptools.setup( + name="alarmpy", + version="1.0.0", + author="Yuval Adam", + author_email="_@yuv.al", + description="Pikud Ha'oref Alarm Tracking", + license="GPLv3", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/yuvadm/alarmpy", + project_urls={ + "Bug Tracker": "https://github.com/yuvadm/alarmpy/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Operating System :: OS Independent", + "Environment :: Console", + ], + package_dir={"": "alarmpy"}, + packages=setuptools.find_packages(where="alarmpy"), + python_requires=">=3.6", + install_requires=["requests", "click"], + entry_points={"console_scripts": ["alarmpy = alarmpy:alarmpy"]}, +) |
