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.

45 lines
1.5 KiB

5 years ago
5 years ago
5 years ago
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # Note: To use the 'upload' functionality of this file, you must:
  4. # $ pip install twine
  5. import io
  6. import os
  7. from setuptools import setup, find_packages
  8. here = os.path.abspath(os.path.dirname(__file__))
  9. # Import the README and use it as the long-description.
  10. # Note: this will only work if 'README.md' is present in your MANIFEST.in file!
  11. with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
  12. long_description = '\n' + f.read()
  13. setup(
  14. name='Adafruit-PlatformDetect',
  15. use_scm_version=True,
  16. setup_requires=["setuptools_scm"],
  17. description='Platform detection for use by libraries like Adafruit-Blinka.',
  18. long_description=long_description,
  19. long_description_content_type='text/x-rst',
  20. author='Adafruit Industries',
  21. author_email='circuitpython@adafruit.com',
  22. python_requires='>=3.4.0',
  23. url='https://github.com/adafruit/Adafruit_Python_PlatformDetect',
  24. # If your package is a single module, use this instead of 'packages':
  25. packages=['adafruit_platformdetect', 'adafruit_platformdetect.constants'],
  26. install_requires=[],
  27. license='MIT',
  28. classifiers=[
  29. # Trove classifiers
  30. # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
  31. 'License :: OSI Approved :: MIT License',
  32. 'Programming Language :: Python',
  33. 'Programming Language :: Python :: 3',
  34. 'Programming Language :: Python :: 3.4',
  35. 'Programming Language :: Python :: Implementation :: MicroPython',
  36. ],
  37. )