forked from Azure/InferenceSchema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (44 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
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import io
from setuptools import setup
from setuptools import find_packages
VERSION = '1.3.0'
NAME = 'inference-schema'
DESCRIPTION = 'This package is intended to provide a uniform schema for common machine learning applications, as ' \
'well as a set of decorators that can be used to aid in web based ML prediction applications.'
DEPENDENCIES = [
'python_dateutil>=2.5.3',
'pytz>=2017.2',
'wrapt>=1.11.1,<=1.12.1'
]
EXTRAS = {
'numpy-support': ['numpy>=1.13.0'],
'pandas-support': ['pandas>=0.20.2'],
'pyspark-support': ['pyspark==2.3.2']
}
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
]
with io.open('LICENSE.txt', 'r', encoding='utf-8') as f:
LICENSE = f.read()
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
classifiers=CLASSIFIERS,
author='Microsoft Corp',
license=LICENSE,
install_requires=DEPENDENCIES,
extras_require=EXTRAS,
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
python_requires=">=3.6,<3.9"
)