-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
54 lines (48 loc) · 1.57 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import find_packages, setup
import subprocess
import versioneer
PACKAGE_NAME = 'pyccc'
CLASSIFIERS = """\
Development Status :: 4 - Beta
Natural Language :: English
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Topic :: System :: Distributed Computing
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
PYEXT = set('.py .pyc .pyo'.split())
extras = {}
requirements = []
with open('requirements.txt', 'r') as reqfile:
for line in reqfile:
fields = line.split(';')
if not fields:
continue
if len(fields) == 2:
extras.setdefault(':%s' % fields[1].strip(), []).append(fields[0])
else:
assert len(fields) == 1
requirements.append(fields[0])
setup(
name=PACKAGE_NAME,
version=versioneer.get_version(),
classifiers=CLASSIFIERS.splitlines(),
packages=find_packages(),
package_data={'pyccc': ['tests/data/*', 'static/*']},
cmdclass=versioneer.get_cmdclass(),
install_requires=requirements,
extras_require=extras,
url='http://github.com/autodesk/pyccc',
license='Apache 2.0',
author='Aaron Virshup and Dion Amago, Autodesk Life Sciences',
author_email='[email protected]',
description='Asynchronous job and file i/o management for containers)'
)