-
Notifications
You must be signed in to change notification settings - Fork 58
/
setup.py
85 lines (78 loc) · 2.41 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import os
from setuptools import setup, find_packages
version = open('VERSION').read().rstrip()
install_requires = [
'docopt',
'flask',
'joblib',
'numpy',
'pandas',
'psutil',
'requests',
'scikit-learn',
'sqlalchemy',
'ujson',
]
tests_require = [
'pytest',
'pytest-cov',
'requests-mock',
]
docs_require = [
# 'julia',
# 'rpy2',
'Sphinx',
'sphinx_rtd_theme',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst'), encoding='utf-8').read()
CHANGES = open(os.path.join(here, 'CHANGES.txt'), encoding='utf-8').read()
except IOError:
README = CHANGES = ''
setup(name='palladium',
version=version,
description='Framework for setting up predictive analytics services',
long_description=README,
url='https://github.com/ottogroup/palladium',
author='Otto Group',
author_email='palladium@ottogroup.com',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'testing': tests_require,
'docs': docs_require,
'julia': ['julia'],
'R': ['rpy2'],
'S3': ['s3fs', 'moto'],
},
entry_points={
'console_scripts': [
'pld-admin = palladium.fit:admin_cmd',
'pld-devserver = palladium.server:devserver_cmd',
'pld-fit = palladium.fit:fit_cmd',
'pld-grid-search = palladium.fit:grid_search_cmd',
'pld-list = palladium.eval:list_cmd',
'pld-stream = palladium.server:stream_cmd',
'pld-test = palladium.eval:test_cmd',
'pld-upgrade = palladium.util:upgrade_cmd',
'pld-version = palladium.util:version_cmd',
'pld-export = palladium.util:export_cmd',
],
'pytest11': [
'palladium = palladium.tests',
],
},
scripts=['bin/pld-dockerize'],
)