|
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 | | -from setuptools import setup, find_packages |
9 | | -# To use a consistent encoding |
10 | | -from codecs import open |
11 | | -from os import path |
12 | | - |
13 | | -here = path.abspath(path.dirname(__file__)) |
14 | | - |
15 | | -# Get the long description from the README file |
16 | | -with open(path.join(here, 'README.rst'), encoding='utf-8') as f: |
17 | | - long_description = f.read() |
18 | | - |
19 | | -setup( |
20 | | - name='circuitpython-cirque-pinnacle', |
21 | | - |
22 | | - use_scm_version=True, |
23 | | - setup_requires=['setuptools_scm'], |
24 | | - |
25 | | - description='A CircuitPython driver for Cirque Pinnacle (1CA027) touch ' |
26 | | - 'controller used in Cirque Trackpads implementing the Adafruit_BusDevice library.', |
27 | | - long_description=long_description, |
28 | | - long_description_content_type='text/x-rst', |
29 | | - |
30 | | - # The project's main homepage. |
31 | | - url='https://github.com/2bndy5/CircuitPython_Cirque_Pinnacle', |
32 | | - |
33 | | - # Author details |
34 | | - author='Brendan Doherty', |
35 | | - |
36 | | - |
37 | | - install_requires=[ |
38 | | - 'Adafruit-Blinka', |
39 | | - 'adafruit-circuitpython-busdevice' |
40 | | - ], |
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 blinka circuitpython Pinnacle ' |
59 | | - 'touch sensor driver Cirque trackpad', |
60 | | - |
61 | | - # You can just specify the packages manually here if your project is |
62 | | - # simple. Or you can use find_packages(). |
63 | | - # TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER, |
64 | | - # CHANGE `py_modules=['...']` TO `packages=['...']` |
65 | | - packages=['circuitpython_cirque_pinnacle'], |
66 | | - |
67 | | - # Specifiy your homepage URL for your project here |
68 | | - url=repo, |
69 | | - |
70 | | - # Extra links for the sidebar on pypi |
71 | | - project_urls={ |
72 | | - 'Documentation': 'https://circuitpython-cirque-pinnacle.readthedocs.io', |
73 | | - }, |
74 | | - download_url='{}/releases'.format(repo), |
75 | | -) |
| 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 | +from os import path |
| 9 | +from setuptools import setup |
| 10 | + |
| 11 | +# To use a consistent encoding |
| 12 | +from codecs import open |
| 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="circuitpython-cirque-pinnacle", |
| 22 | + use_scm_version=True, |
| 23 | + setup_requires=["setuptools_scm"], |
| 24 | + description="A CircuitPython driver for Cirque Pinnacle (1CA027) touch " |
| 25 | + "controller used in Cirque Trackpads implementing the Adafruit_BusDevice library.", |
| 26 | + long_description=long_description, |
| 27 | + long_description_content_type="text/x-rst", |
| 28 | + # The project's main homepage. |
| 29 | + url="https://github.com/2bndy5/CircuitPython_Cirque_Pinnacle", |
| 30 | + # Author details |
| 31 | + author="Brendan Doherty", |
| 32 | + |
| 33 | + install_requires=["Adafruit-Blinka", "adafruit-circuitpython-busdevice"], |
| 34 | + # Choose your license |
| 35 | + license="MIT", |
| 36 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 37 | + classifiers=[ |
| 38 | + "Development Status :: 3 - Alpha", |
| 39 | + "Intended Audience :: Developers", |
| 40 | + "Topic :: Software Development :: Libraries", |
| 41 | + "Topic :: System :: Hardware", |
| 42 | + "License :: OSI Approved :: MIT License", |
| 43 | + "Programming Language :: Python :: 3", |
| 44 | + "Programming Language :: Python :: 3.4", |
| 45 | + "Programming Language :: Python :: 3.5", |
| 46 | + ], |
| 47 | + # What does your project relate to? |
| 48 | + keywords="adafruit blinka circuitpython Pinnacle " |
| 49 | + "touch sensor driver Cirque trackpad", |
| 50 | + # You can just specify the packages manually here if your project is |
| 51 | + # simple. Or you can use find_packages(). |
| 52 | + # TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER, |
| 53 | + # CHANGE `py_modules=['...']` TO `packages=['...']` |
| 54 | + packages=["circuitpython_cirque_pinnacle"], |
| 55 | + # Extra links for the sidebar on pypi |
| 56 | + project_urls={ |
| 57 | + "Documentation": "https://circuitpython-cirque-pinnacle.readthedocs.io", |
| 58 | + }, |
| 59 | + download_url="https://github.com/2bndy5/CircuitPython_Cirque_Pinnacle/releases", |
| 60 | +) |
0 commit comments