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.

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