-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
35 lines (29 loc) · 1.12 KB
/
setup.py
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
33
34
35
import sys
from distutils.core import setup
# PY3 = sys.version_info.major >= 3 # major is not available in python2.6
PY3 = sys.version_info[0] >= 3
PIFACECOMMON_MIN_VERSION = '3.0.0'
VERSION_FILE = "scratch_handler.py"
def get_version():
return '2.0.5'
setup(
name='pifacedigital-scratch-handler',
version=get_version(),
description='The PiFace Digital Scratch Handler.',
author='Thomas Preston',
author_email='[email protected]',
url='https://github.com/piface/pifacedigital-scratch-handler/',
py_modules=['scratch_handler.py'],
long_description=open('README.md').read() + open('CHANGELOG').read(),
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3 or ",
"later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='piface digital scratch raspberrypi openlx',
license='GPLv3+',
requires=['pifacecommon (>='+PIFACECOMMON_MIN_VERSION+')']
)