You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.6 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. """A setuptools based setup module.
  2. See:
  3. https://packaging.python.org/en/latest/distributing.html
  4. https://github.com/pypa/sampleproject
  5. """
  6. from setuptools import setup, find_packages
  7. # To use a consistent encoding
  8. from codecs import open
  9. from os import path
  10. here = path.abspath(path.dirname(__file__))
  11. # Get the long description from the README file
  12. with open(path.join(here, "README.rst"), encoding="utf-8") as f:
  13. long_description = f.read()
  14. setup(
  15. name="Adafruit-PlatformDetect",
  16. use_scm_version=True,
  17. setup_requires=["setuptools_scm"],
  18. description="Platform detection for use by libraries like Adafruit-Blinka.",
  19. long_description=long_description,
  20. long_description_content_type="text/x-rst",
  21. python_requires=">=3.5.0",
  22. url="https://github.com/adafruit/Adafruit_Python_PlatformDetect",
  23. # If your package is a single module, use this instead of 'packages':
  24. author="Adafruit Industries",
  25. author_email="circuitpython@adafruit.com",
  26. install_requires=[],
  27. # Choose your license
  28. license="MIT",
  29. # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  30. classifiers=[
  31. "Development Status :: 3 - Alpha",
  32. "Intended Audience :: Developers",
  33. "Topic :: Software Development :: Libraries",
  34. "Topic :: System :: Hardware",
  35. "License :: OSI Approved :: MIT License",
  36. "Programming Language :: Python :: 3",
  37. "Programming Language :: Python :: 3.4",
  38. "Programming Language :: Python :: 3.5",
  39. ],
  40. packages=["adafruit_platformdetect", "adafruit_platformdetect.constants"],
  41. )