]> Repositories - Adafruit_Blinka-hackapet.git/blob - setup.py
04fa21b67167d288f3ba2bddf21d24fc1cb67885
[Adafruit_Blinka-hackapet.git] / setup.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 # Note: To use the 'upload' functionality of this file, you must:
5 #   $ pip install twine
6
7 import io
8 import os
9 import sys
10
11 from setuptools import setup
12
13 here = os.path.abspath(os.path.dirname(__file__))
14
15 # Import the README and use it as the long-description.
16 # Note: this will only work if 'README.md' is present in your MANIFEST.in file!
17 with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
18     long_description = '\n' + f.read()
19
20 setup(
21     name='Adafruit-Blinka',
22     use_scm_version=True
23     description='CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython.',
24     long_description=long_description,
25     long_description_content_type='text/x-rst',
26     author='Adafruit Industries',
27     author_email='circuitpython@adafruit.com',
28     python_requires='>=3.6.0',
29     url='https://github.com/adafruit/Adafruit_Blinka',
30     package_dir={'': 'src'},
31     packages=[
32         'adafruit_blinka',
33         'adafruit_blinka.agnostic',
34         'adafruit_blinka.board',
35         'adafruit_blinka.microcontroller',
36         'adafruit_blinka.microcontroller.esp8266',
37         'adafruit_blinka.microcontroller.stm32',
38         'microcontroller'
39     ],
40     # If your package is a single module, use this instead of 'packages':
41     py_modules=['bitbangio', 'board', 'busio', 'digitalio'],
42     install_requires=['Adafruit-GPIO'],
43     include_package_data=True,
44     license='MIT',
45     classifiers=[
46         # Trove classifiers
47         # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
48         'License :: OSI Approved :: MIT License',
49         'Programming Language :: Python',
50         'Programming Language :: Python :: 3',
51         'Programming Language :: Python :: 3.6',
52         'Programming Language :: Python :: Implementation :: MicroPython',
53     ],
54 )