-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
33 lines (29 loc) · 1.04 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
import io
import sys
from setuptools import find_packages, setup
svem_flag = '--single-version-externally-managed'
if svem_flag in sys.argv:
# Die, setuptools, die.
sys.argv.remove(svem_flag)
with io.open('chuck/__init__.py', encoding='utf-8') as fid:
for line in fid:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break
setup(name='chuck',
version=version,
description='Library wrapper for music creation using ChucK',
long_description=open('README.md', 'rb').read().decode('utf-8'),
author='Douglas S. Blank',
author_email='dblank@cs.brynmawr.edu',
url='https://github.com/Calysto/chuck',
install_requires=['IPython>=3.0'],
packages=find_packages(include=['chuck', 'chuck.*']),
include_data_files = True,
zip_safe=False,
classifiers=[
'Framework :: IPython',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
]
)