-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (31 loc) · 1003 Bytes
/
setup.py
File metadata and controls
35 lines (31 loc) · 1003 Bytes
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
from distutils.core import setup
from setuptools import find_packages
import os
"""
clearly assumes there already are tags pressent,
and only gets it for the current branch.
my case will only be used in the master branch.
"""
with os.popen("git describe --abbrev=0") as fd:
version = fd.read().strip()
reqs = ['Pillow >= 2.9.0',
'PyOpenGL >= 3.1.0',
'PyUserInput >= 0.1.10',
'cffi >= 1.7.0',
'pygame-cffi >= 0.1.1',
'pyserial >= 3.1.1',
'python-xlib >= 0.16',
'pyalsaaudio >= 0.8.2',
'numpy']
setup(name='Ledart',
version=version,
description='led controle software.',
author='Robert van der Tuuk',
author_email='201292@live.nl',
license='GPL2',
packages=find_packages(),
install_requires=reqs,
url='https://github.com/tkkrlab/py-ledart',
download_url = ('https://github.com/tkkrlab/py-ledart/tarbal/%s' % version),
zip_safe=False,
scripts=['scripts/ledart'])