/
setup.py
57 lines (53 loc) · 2.65 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
55
56
57
import os, sys
from setuptools import setup, find_packages
project_root = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(project_root, 'README.md')) as file:
long_description = file.read()
with open(os.path.join(project_root, 'datmo', 'VERSION')) as file:
__version__ = file.read()
if sys.version_info[0] < 3: # python 2
prerequisites = [
"future>=0.16.0", "enum34>=1.1.6", "glob2>=0.5", "docker==3.6.0",
"pyyaml>=3.12", "pytz>=2017.3", "tzlocal>=1.5.1", "prettytable>=0.7.2",
"rsfile>=2.1", "humanfriendly>=3.6.1", "python-slugify>=1.2.4",
"giturlparse.py>=0.0.5", "blitzdb>=0.2.12", "kids.cache>=0.0.7",
"pymongo>=3.6.0", "checksumdir>=1.1.4", "semver>=2.7.8",
"backports.ssl-match-hostname>=3.5.0.1", "timeout-decorator>=0.4.0",
"cerberus>=1.2", "pytest==3.0.4", "pathspec>=0.5.6", "psutil>=4.4.2",
"flask>=0.10.1", "jinja2>=2.7.3", "markupsafe>=0.23",
"werkzeug>=0.9.6", "beautifulsoup4>=4.3.2", "gunicorn>=19.1.1",
"itsdangerous>=0.24", "six>=1.8.0", "wsgiref>=0.1.2", "urllib3==1.24.2",
"chardet==3.0.2", "requests>=2.20.0", "plotly==3.3.0",
"jsonschema==2.6.0", "celery==4.2.1", "numpy==1.15.4"
]
else: # python 3
prerequisites = [
"future>=0.16.0", "enum34>=1.1.6", "glob2>=0.5", "docker==3.6.0",
"pyyaml>=3.12", "pytz>=2017.3", "tzlocal>=1.5.1", "rsfile>=2.1",
"humanfriendly>=3.6.1", "python-slugify>=1.2.4",
"giturlparse.py>=0.0.5", "blitzdb>=0.2.12", "kids.cache>=0.0.7",
"pymongo>=3.6.0", "checksumdir>=1.1.4", "semver>=2.7.8",
"backports.ssl-match-hostname>=3.5.0.1", "timeout-decorator>=0.4.0",
"cerberus>=1.2", "pytest==3.0.4", "pathspec>=0.5.6", "psutil>=4.4.2",
"flask>=0.10.1", "jinja2>=2.7.3", "markupsafe>=0.23",
"werkzeug>=0.9.6", "beautifulsoup4>=4.3.2", "gunicorn>=19.1.1",
"itsdangerous>=0.24", "six>=1.8.0", "urllib3==1.24.2", "chardet==3.0.2",
"prettytable>=0.7.2", "requests>=2.20.0", "plotly==3.3.0",
"jsonschema==2.6.0", "celery==4.2.1", "numpy==1.15.4"
]
setup(
name='datmo',
version=__version__,
author='datmo developers',
author_email='developer@datmo.com',
packages=find_packages(
exclude=["templates.*", "*.tests", "*.tests.*", "tests.*", "tests"]),
url="https://github.com/datmo/datmo",
license='See LICENSE.txt',
description='Open source model tracking tool for developers',
long_description=long_description,
install_requires=prerequisites,
tests_require=["pytest==3.0.4"],
entry_points={'console_scripts': ['datmo = datmo.cli.main:main']},
include_package_data=True,
)