1+ """A setuptools based setup module.
2+
3+ See:
4+ https://packaging.python.org/en/latest/distributing.html
5+ https://github.com/pypa/sampleproject
6+ """
7+
8+ # Always prefer setuptools over distutils
9+ from setuptools import setup , find_packages
10+ # To use a consistent encoding
11+ from codecs import open
12+ from os import path
13+
14+ here = path .abspath (path .dirname (__file__ ))
15+
16+ # Get the long description from the README file
17+ with open (path .join (here , 'README.rst' ), encoding = 'utf-8' ) as f :
18+ long_description = f .read ()
19+
20+ setup (
21+ name = 'adafruit-circuitpython-servokit' ,
22+
23+ use_scm_version = True ,
24+ setup_requires = ['setuptools_scm' ],
25+
26+ description = 'CircuitPython helper library for PWM/Servo FeatherWing, Shield, and '
27+ 'Pi HAT and Bonnet kits.' ,
28+ long_description = long_description ,
29+ long_description_content_type = 'text/x-rst' ,
30+
31+ # The project's main homepage.
32+ url = 'https://github.com/adafruit/Adafruit_CircuitPython_ServoKit' ,
33+
34+ # Author details
35+ author = 'Adafruit Industries' ,
36+ 37+
38+ install_requires = ['Adafruit-Blinka' , 'adafruit-circuitpython-busdevice' ,
39+ 'adafruit-circuitpython-register' , 'adafruit-circuitpython-pca9685' ,
40+ 'adafruit-circuitpython-motor' ],
41+
42+ # Choose your license
43+ license = 'MIT' ,
44+
45+ # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
46+ classifiers = [
47+ 'Development Status :: 3 - Alpha' ,
48+ 'Intended Audience :: Developers' ,
49+ 'Topic :: Software Development :: Libraries' ,
50+ 'Topic :: System :: Hardware' ,
51+ 'License :: OSI Approved :: MIT License' ,
52+ 'Programming Language :: Python :: 3' ,
53+ 'Programming Language :: Python :: 3.4' ,
54+ 'Programming Language :: Python :: 3.5' ,
55+ ],
56+
57+ # What does your project relate to?
58+ keywords = 'adafruit servo motor pwm pca9685 featherwing pi shield bonnet servokit kit i2c '
59+ 'hardware micropython circuitpython' ,
60+
61+ # You can just specify the packages manually here if your project is
62+ # simple. Or you can use find_packages().
63+ py_modules = ['adafruit_servokit' ],
64+ )
0 commit comments