setup.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. from pathlib import Path
  2. from setuptools import setup
  3. this_directory = Path(__file__).parent
  4. long_description = (this_directory / "README.md").read_text()
  5. setup(
  6. name="PySwitchbot",
  7. packages=[
  8. "switchbot",
  9. "switchbot.devices",
  10. "switchbot.const",
  11. "switchbot.adv_parsers",
  12. ],
  13. install_requires=[
  14. "aiohttp>=3.9.5",
  15. "bleak>=0.19.0",
  16. "bleak-retry-connector>=3.4.0",
  17. "cryptography>=39.0.0",
  18. "pyOpenSSL>=23.0.0",
  19. ],
  20. version="0.56.0",
  21. description="A library to communicate with Switchbot",
  22. long_description=long_description,
  23. long_description_content_type="text/markdown",
  24. author="Daniel Hjelseth Hoyer",
  25. url="https://github.com/sblibs/pySwitchbot/",
  26. license="MIT",
  27. python_requires=">=3.11",
  28. classifiers=[
  29. "Development Status :: 3 - Alpha",
  30. "Environment :: Other Environment",
  31. "Intended Audience :: Developers",
  32. "Operating System :: OS Independent",
  33. "Programming Language :: Python",
  34. "Topic :: Home Automation",
  35. "Topic :: Software Development :: Libraries :: Python Modules",
  36. ],
  37. )