-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
66 lines (62 loc) · 1.91 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
import os
import codecs
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def read(rel_path):
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, rel_path), 'r') as fp:
return fp.read()
def get_version(rel_path):
for line in read(rel_path).splitlines():
if line.startswith('__version__'):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
else:
raise RuntimeError("Unable to find version string.")
setuptools.setup(
name="famews",
version=get_version("famews/__init__.py"),
author="Marine Hoche, Olga Mineeva, Manuel Burger, Alessandro Blasimme, Gunnar Rätsch",
url="https://github.com/ratschlab/famews",
license="MIT License",
description="FAMEWS: A Fairness Auditing tool for Medical Early-Warning Systems",
long_description=long_description,
long_description_content_type="text/markdown",
keywords = [
'Fairness', 'Machine Learning',
'Early-Warning System', 'Clinical Applications'], # Keywords that define your package best
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=["famews"],
python_requires=">=3.9",
install_requires=[
'pandas',
'numpy==1.23',
'pandas<2.0',
'scikit-learn>=1.2.0',
'jupyter',
'seaborn>=0.12.2',
'matplotlib>=3.6.2',
'pytest==7.1.2',
'mypy==0.981',
'tqdm>=4.64',
'pyarrow>=8.0.0',
'black==22.6.0',
'isort==5.9.3',
'gin-config>=0.5.0',
'coolname>=2.2.0',
'plotly>=5.9.0',
'shap>=0.41.0',
'setuptools',
'wheel',
'twine',
'pathos>=0.2.9',
'coloredlogs>=15.0',
'types-PyYAML',
'reportlab>=4.0.4',
'rbo>=0.1.3'
]
)