-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
55 lines (46 loc) · 1.56 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
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import io
from setuptools import setup
from setuptools import find_packages
VERSION = '1.8'
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.14.0,<=1.16.0',
]
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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
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.8"
)