setup.py 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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=["switchbot", "switchbot.devices", "switchbot.adv_parsers"],
  8. install_requires=[
  9. "aiohttp>=3.9.5",
  10. "bleak>=0.19.0",
  11. "bleak-retry-connector>=3.4.0",
  12. "cryptography>=39.0.0",
  13. "pyOpenSSL>=23.0.0",
  14. ],
  15. version="0.53.2",
  16. description="A library to communicate with Switchbot",
  17. long_description=long_description,
  18. long_description_content_type="text/markdown",
  19. author="Daniel Hjelseth Hoyer",
  20. url="https://github.com/sblibs/pySwitchbot/",
  21. license="MIT",
  22. classifiers=[
  23. "Development Status :: 3 - Alpha",
  24. "Environment :: Other Environment",
  25. "Intended Audience :: Developers",
  26. "Operating System :: OS Independent",
  27. "Programming Language :: Python",
  28. "Topic :: Home Automation",
  29. "Topic :: Software Development :: Libraries :: Python Modules",
  30. ],
  31. )