-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
33 lines (27 loc) · 931 Bytes
/
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
#!/usr/bin/python3
import sys
from distutils.core import setup
VERSION_FILE = "snapcamera/version.py"
def get_version():
version_vars = {}
with open(VERSION_FILE) as f:
code = compile(f.read(), VERSION_FILE, 'exec')
exec(code, None, version_vars)
return version_vars['__version__']
setup(
name='snap-camera',
version=get_version(),
description='A camera that uses PiFace Control and Display and Raspicam.',
author='Thomas Preston',
author_email='[email protected]',
license='GPLv3+',
url='http://www.piface.org.uk/',
packages=['snapcamera'],
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3 or "
"later (AGPLv3+)",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
],
keywords='piface cad control and display snap camera raspberrypi openlx',
)