-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
63 lines (60 loc) · 1.75 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
"""Setup script for fedeca."""
from setuptools import find_packages, setup
deps = ["docformatter"]
tests = ["pytest", "coverage"]
docs = [
"jupyter",
"sphinx<7",
"sphinx-rtd-theme==0.4.2",
"gitpython>=3.1.27",
"myst_parser",
"sphinx_autodoc_typehints",
"sphinxcontrib.bibtex",
]
dev = ["flake8", "flake8-docstrings", "pre-commit"]
all_extra = deps + tests + docs + dev
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="fedeca",
version="0.0.2",
python_requires=">=3.9.0,<3.11",
license="MIT",
classifiers=[
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
],
install_requires=[
# We cannot use the git+https / git+ssh syntax here because of docker
# build issues related to git not being installed
"substrafl==0.46.0",
"argparse",
"numpy==1.26.4",
"pandas",
"pre-commit",
"scipy",
"seaborn",
"opacus",
"lifelines",
"git-python",
"build",
"torch==1.13.1",
"scikit-learn==1.2.1",
"pydantic", # Need to be updated to > 2.0 to use latest Substra
"indcomp==0.2.1",
"hydra-core",
],
extras_require={
"all_extra": all_extra,
},
description="Federated External Control Arm with substra",
long_description=long_description,
author="""
Jean Ogier du Terrail, Quentin Klopfenstein,
Honghao Li, Nicolas Loiseau, Mathieu Andreux,
Félix Balazard""",
author_email="[email protected]",
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
)