setup.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. import pathlib
  2. import setuptools
  3. _REPO_URL = "https://git.hammerle.me/fphammerle/intertechno-cc1101"
  4. setuptools.setup(
  5. name="intertechno-cc1101",
  6. use_scm_version=True,
  7. packages=setuptools.find_packages(),
  8. description="Python Library & Command Line Tool to Switch Intertechno Outlets"
  9. " via CC1101 Transceiver",
  10. long_description=pathlib.Path(__file__).parent.joinpath("README.md").read_text(),
  11. long_description_content_type="text/markdown",
  12. author="Fabian Peter Hammerle",
  13. author_email="fabian@hammerle.me",
  14. url=_REPO_URL,
  15. project_urls={"Changelog": _REPO_URL + "/blob/master/CHANGELOG.md"},
  16. keywords=[
  17. "automation",
  18. "intertechno",
  19. "outlet",
  20. "power",
  21. "radio-frequency",
  22. "raspberry-pi",
  23. "remote-control",
  24. ],
  25. classifiers=[
  26. # https://pypi.org/classifiers/
  27. "Development Status :: 2 - Pre-Alpha",
  28. "Intended Audience :: Developers",
  29. "Intended Audience :: End Users/Desktop",
  30. "Intended Audience :: System Administrators",
  31. "Operating System :: POSIX :: Linux",
  32. "Topic :: Home Automation",
  33. ],
  34. entry_points={
  35. "console_scripts": ["intertechno-cc1101 = intertechno_cc1101._cli:_main"]
  36. },
  37. install_requires=[
  38. # >=2.7.0 for CC1101.set_output_power()
  39. "cc1101>=2.7.0"
  40. ],
  41. setup_requires=["setuptools_scm"],
  42. tests_require=["pytest"],
  43. )