Debian Codegraph @

setup.py

raw symbols SCIP
1 # Copyright (c) 2012-2021 Ben Croston
2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a copy of
4 # this software and associated documentation files (the "Software"), to deal in
5 # the Software without restriction, including without limitation the rights to
6 # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7 # of the Software, and to permit persons to whom the Software is furnished to do
8 # so, subject to the following conditions:
9 #
10 # The above copyright notice and this permission notice shall be included in all
11 # copies or substantial portions of the Software.
12 #
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20 """
21 This package provides a Python module to control the GPIO on a Raspberry Pi.
22 """
23
24 from setuptools import setup, Extension
25
26 classifiers = ['Development Status :: 5 - Production/Stable',
27 'Operating System :: POSIX :: Linux',
28 'License :: OSI Approved :: MIT License',
29 'Intended Audience :: Developers',
30 'Programming Language :: Python :: 2.7',
31 'Programming Language :: Python :: 3',
32 'Topic :: Software Development',
33 'Topic :: Home Automation',
34 'Topic :: System :: Hardware']
35
36 setup(name = 'RPi.GPIO',
37 version = '0.7.1a4',
38 author = 'Ben Croston',
39 author_email = '[email protected]',
40 description = 'A module to control Raspberry Pi GPIO channels',
41 long_description = open('README.txt').read() + open('CHANGELOG.txt').read(),
42 license = 'MIT',
43 keywords = 'Raspberry Pi GPIO',
44 url = 'http://sourceforge.net/projects/raspberry-gpio-python/',
45 classifiers = classifiers,
46 packages = ['RPi','RPi.GPIO'],
47 ext_modules = [Extension('RPi._GPIO', ['source/py_gpio.c', 'source/c_gpio.c', 'source/cpuinfo.c', 'source/event_gpio.c', 'source/soft_pwm.c', 'source/py_pwm.c', 'source/common.c', 'source/constants.c'])])