forked from equinor/gordo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (31 loc) · 1.16 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
from setuptools import setup, find_packages
setup_requirements = ["pytest-runner", "setuptools_scm"]
def requirements(fp: str):
with open(fp) as f:
return [r.strip() for r in f.readlines()]
setup(
author="Equinor ASA",
author_email="[email protected]",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="Train and build models for Argo / Kubernetes",
entry_points={"console_scripts": ["gordo-components=gordo_components.cli:gordo"]},
install_requires=requirements("requirements.in"), # Allow flexible deps for install
license="AGPLv3",
name="gordo-components",
packages=find_packages(),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=requirements("test_requirements.txt"),
url="https://github.com/Statoil/gordo-flow",
use_scm_version={
"write_to": "gordo_components/_version.py",
"relative_to": __file__,
},
zip_safe=True,
)