-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathsetup.py
executable file
·39 lines (32 loc) · 1.22 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
#!/usr/bin/env python3
try:
from pip.req import parse_requirements # pip 9.x
except ImportError:
from pip._internal.req import parse_requirements # pip 10.x
from setuptools import find_packages, setup
from app.util import autoversioning
version = autoversioning.get_version()
# bdist_pex runs in a temp dir, therefore requirements.txt must be added to data_files.
requirements = [str(r.req) for r in parse_requirements('requirements.txt', session=False)]
name = 'clusterrunner'
setup(
name=name,
version=version,
description="ClusterRunner makes it easy to execute test suites across your "
"infrastructure in the fastest and most efficient way possible.",
maintainer="Box",
maintainer_email="productivity@box.com",
url="https://github.com/box/ClusterRunner",
license="ASL 2.0",
python_requires='>=3.4',
packages=find_packages(exclude=('test', 'test.*')),
# Data files are packaged into the wheel using the following defines.
data_files=[
('', ['requirements.txt']),
('conf', ['conf/default_clusterrunner.conf']),
],
install_requires=requirements,
entry_points={
'console_scripts': ['{} = app.__main__:main'.format(name)],
},
)