-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
71 lines (59 loc) · 2.27 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
#
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
#
import setuptools
# this must be incremented every time we push an update to pypi (but not before)
VERSION = "1.4.2"
# supply contents of our README file as our package's long description
with open("README.md", "r") as fh:
long_description = fh.read()
requirements = []
with open("requirements.txt", "r") as fr:
requirements = list(filter(
lambda rq: rq != "",
map(lambda r: r.strip(), fr.read().split("\n"))))
setuptools.setup(
# this is the name people will use to "pip install" the package
name="backwardcompatibilityml",
version=VERSION,
author="Besmira Nushi",
author_email="[email protected]",
description="Project for open sourcing research efforts on Backward Compatibility in Machine Learning",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/BackwardCompatibilityML",
# Pckages
packages=[
"backwardcompatibilityml",
"backwardcompatibilityml.loss",
"backwardcompatibilityml.helpers",
"backwardcompatibilityml.widgets",
"backwardcompatibilityml.widgets.compatibility_analysis",
"backwardcompatibilityml.widgets.compatibility_analysis.resources",
"backwardcompatibilityml.widgets.model_comparison",
"backwardcompatibilityml.widgets.model_comparison.resources",
"backwardcompatibilityml.tensorflow",
"backwardcompatibilityml.tensorflow.loss"
],
entry_points={
},
# normally, only *.py files are included - this forces our YAML file and
# controller scripts to be included
package_data={'': ['*.yaml', '*.sh', '*.bat', '*.txt', '*.rst', '*.crt', '*.json', '*.js', '*.html', '*.css']},
include_package_data=True,
# the packages that our package is dependent on
install_requires=requirements,
extras_require=dict(
dev=[
"sphinx==3.2.1",
"recommonmark==0.6.0",
"sphinx-rtd-theme==0.5.0"
], ),
# used to identify the package to various searches
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)