-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (26 loc) · 905 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
from itertools import imap
from setuptools import setup, find_packages
import py
def get_requirements():
reqs_file = "requirements.txt"
try:
with open(reqs_file) as reqs_file:
reqs = filter(None, imap(lambda line: line.strip(), reqs_file))
return reqs
except IOError:
pass
return []
setup(
name='galenpy',
version=py.__version__,
url='https://github.com/valermor/galen-api-ports',
author='valerio morsella',
author_email='[email protected]',
package_data={'galenpy': ['service/*.jar', 'pythrift/*-remote', 'utils/*.config']},
description='Porting of the Galen Framework API to Python',
long_description=open('py/README.rst').read(),
install_requires=get_requirements(),
package_dir={'':'py'},
packages=['galenpy', 'galenpy.utils', 'galenpy.pythrift'],
license = 'Apache License 2.0'
)