-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (33 loc) · 979 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
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/python3
"""
coco, a config controller.
``coco`` lives on
`GitHub <https://github.com/chime-experiment/coco>`_.
"""
import setuptools
import sys
import versioneer
if sys.version_info < (3, 7):
sys.exit(
"Python version {} is smaller than minimum supported version (3.7)".format(
sys.version
)
)
# Load the PEP508 formatted requirements from the requirements.txt file. Needs
# pip version > 19.0
with open("requirements.txt", "r") as fh:
requires = fh.readlines()
# Now for the regular setuptools-y stuff
setuptools.setup(
name="coco",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="The CHIME Collaboration",
author_email="[email protected]",
description="A Config Controller",
packages=["coco", "coco.test"],
scripts=["scripts/coco", "scripts/cocod"],
license="GPL v3.0",
url="http://github.com/chime-experiment/coco",
install_requires=requires,
)