Menu

[752c9c]: / setup.py  Maximize  Restore  History

Download this file

34 lines (29 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env python
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, find_packages
import platform
classifiers = ['Development Status :: 2 - Pre-Alpha',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development',
'Topic :: Home Automation',
'Topic :: System :: Hardware']
extra = {}
if platform.python_version().startswith('3'):
extra['use_2to3'] = True
setup(name = 'RPi.GPIO',
version = '0.0.1a',
packages = find_packages(),
author = 'Ben Croston',
author_email = 'ben@croston.org',
description = 'A class to control Raspberry Pi GPIO lines',
long_description = open('README.txt').read() + open('CHANGELOG.txt').read(),
license = 'MIT',
keywords = 'Raspberry Pi gpio',
url = 'http://www.wyre-it.co.uk/rpi/gpio',
classifiers = classifiers,
**extra)