setup.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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={"console_scripts": ["switchbot-mqtt = switchbot_mqtt:_main"]},
  35. install_requires=[
  36. # >=2.7.0 for CC1101.set_output_power()
  37. "cc1101>=2.7.0"
  38. ],
  39. setup_requires=["setuptools_scm"],
  40. tests_require=["pytest"],
  41. )