setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/env python3
  2. from setuptools import setup
  3. import sys, os
  4. basedir = os.path.abspath(os.path.dirname(__file__))
  5. with open(os.path.join(basedir, "README.md"), "rb") as fd:
  6. readmeText = fd.read().decode("UTF-8")
  7. setup(
  8. name="bme280-upy",
  9. version="2.1.0",
  10. description="BME-280 sensor device driver with Micropython and Linux support (I2C + SPI)",
  11. license="GNU General Public License v2 or later",
  12. author="Michael Büsch",
  13. author_email="m@bues.ch",
  14. url="https://bues.ch/",
  15. packages=["bme280"],
  16. keywords = "Micropython BME280 SPI I2C Raspberry-Pi",
  17. classifiers = [
  18. "Development Status :: 5 - Production/Stable",
  19. "Environment :: Console",
  20. "Intended Audience :: Developers",
  21. "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
  22. "Programming Language :: Python :: 3",
  23. "Programming Language :: Python :: Implementation :: CPython",
  24. "Programming Language :: Python :: Implementation :: MicroPython",
  25. "Topic :: Software Development :: Embedded Systems",
  26. "Topic :: System :: Hardware :: Hardware Drivers",
  27. ],
  28. long_description=readmeText,
  29. long_description_content_type="text/markdown",
  30. )
  31. # vim: ts=4 sw=4 expandtab