-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (52 loc) · 1.47 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
# -*- coding: utf-8 -*-
"""Configuration file for the package."""
from setuptools import setup, find_packages
core = [
'flask-restplus==0.13.0',
'Flask-Cors==3.0.8'
]
aws = [
'botocore==1.12.253',
'boto3==1.9.253',
]
pmml = (core + ['pypmml==0.9.3'])
pickle = (core + ['dill==0.3.1.1'])
s3 = aws
all_deps = (core + pmml + s3 + pickle)
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setup(name='ml-model-server',
version='1.0',
url='https://github.com/dipayan90/ml-model-server',
author='Dipayan Chattopadhyay',
author_email='[email protected]',
description='Cookie cutter online ML model serving solution',
long_description=LONG_DESCRIPTION,
packages=find_packages(),
package_data={
'': ['setup.py', 'setup.cfg'],
'ml-model-server': ['*.py']
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
setup_requires=["pytest-runner==4.4"],
install_requires=core,
extras_require={
'all': all_deps,
's3': s3,
'pmml': pmml,
'pickle': pickle
},
tests_require=[
'pytest==4.4.1',
'pytest-cov==2.6.1',
'pytest-mock==1.10.4',
'requests-mock==1.6.0',
'pytest-bdd==3.1.1',
'moto==1.3.8',
],
include_package_data=True,
zip_safe=False)