-
Notifications
You must be signed in to change notification settings - Fork 342
/
setup.py
46 lines (40 loc) · 1.46 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
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.
import setuptools
with open('erroranalysis/version.py') as f:
code = compile(f.read(), f.name, 'exec')
exec(code)
# Fetch ReadMe
with open("README.md", "r") as fh:
long_description = fh.read()
# Use requirements.txt to set the install_requires
with open('requirements.txt') as f:
install_requires = [line.strip() for line in f]
with open('requirements-object-detection.txt') as f:
extras_require = {
'object_detection': [line.strip() for line in f]
}
setuptools.setup(
name=name, # noqa: F821
version=version, # noqa: F821
author="Roman Lutz, Ilya Matiach, Ke Xu",
author_email="raiwidgets-maintain@microsoft.com",
description="Core error analysis APIs",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/responsible-ai-widgets",
packages=setuptools.find_packages(),
python_requires='>=3.7',
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha"
]
)