forked from MAIF/eurybia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·90 lines (80 loc) · 2.93 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env python
"""The setup script."""
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open("README.md", encoding="utf8") as readme_file:
long_description = readme_file.read()
# Load the package's __version__.py module as a dictionary.
version_d: dict = {}
with open(os.path.join(here, "eurybia", "__version__.py")) as f:
exec(f.read(), version_d)
requirements = [
"catboost>=0.22",
"datapane==0.14.0",
"ipywidgets>=7.4.2",
"jinja2>=2.11.0,<3.1.0",
"scipy>=1.4.0",
"seaborn>=0.10.1",
"shapash>=2.0.0",
"jupyter",
]
setup_requirements = [
"pytest-runner",
]
test_requirements = [
"pytest",
]
setup(
name="eurybia", # Replace with your own username
version=version_d["__version__"],
python_requires=">3.6, < 3.10",
url="https://github.com/MAIF/eurybia",
author="Nicolas Roux, Johann Martin, Thomas Bouché",
author_email="[email protected]",
description="Eurybia monitor model drift over time and securize model deployment with data validation",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
install_requires=requirements,
license="Apache Software License 2.0",
keywords="eurybia",
package_dir={
"eurybia": "eurybia",
"eurybia.data": "eurybia/data",
"eurybia.core": "eurybia/core",
"eurybia.report": "eurybia/report",
"eurybia.assets": "eurybia/assets",
"eurybia.style": "eurybia/style",
"eurybia.utils": "eurybia/utils",
},
packages=["eurybia", "eurybia.data", "eurybia.core", "eurybia.report", "eurybia.style", "eurybia.utils"],
data_files=[
("data", ["eurybia/data/house_prices_dataset.csv"]),
("data", ["eurybia/data/house_prices_labels.json"]),
("data", ["eurybia/data/titanicdata.csv"]),
("data", ["eurybia/data/project_info_car_accident.yml"]),
("data", ["eurybia/data/project_info_house_price.yml"]),
("data", ["eurybia/data/project_info_titanic.yml"]),
("data", ["eurybia/data/titanic_altered.csv"]),
("data", ["eurybia/data/titanic_original.csv"]),
("data", ["eurybia/data/US_Accidents_extract.csv"]),
("style", ["eurybia/style/colors.json"]),
("assets", ["eurybia/assets/local-report-base.css",
"eurybia/assets/local-report-base.js",
"eurybia/assets/logo_eurybia_dp.png",
"eurybia/assets/report_template.html"]),
],
include_package_data=True,
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
zip_safe=False,
)