forked from NVIDIA/NVFlare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
148 lines (139 loc) · 2.7 KB
/
setup.cfg
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[metadata]
url = https://github.com/NVIDIA/NVFlare
description = Federated Learning Application Runtime Environment
long_description = file:README.md
long_description_content_type = text/markdown; charset=UTF-8
license_files =
LICENSE
classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
[options]
zip_safe = True
python_requires = >= 3.8
install_requires =
cryptography>=36.0.0
Flask==3.0.2
Werkzeug==3.0.3
Flask-JWT-Extended==4.6.0
Flask-SQLAlchemy==3.1.1
SQLAlchemy==2.0.16
grpcio>=1.62.1
gunicorn>=22.0.0
numpy
protobuf>=4.24.4
psutil>=5.9.1
PyYAML>=6.0
requests>=2.28.0
six>=1.15.0
msgpack>=1.0.3
docker>=6.0
websockets>=10.4
pyhocon
[options.extras_require]
HE =
tenseal==0.3.15
PSI =
openmined.psi==2.0.5
PT =
torch
torchvision
SKLEARN =
scikit-learn
pandas>=1.5.1
TRACKING =
mlflow
wandb
tensorboard
CONFIG =
omegaconf
app_opt =
%(HE)s
%(PSI)s
%(PT)s
%(SKLEARN)s
%(TRACKING)s
pytorch_lightning
xgboost
app_opt_mac =
%(PT)s
%(SKLEARN)s
%(TRACKING)s
core_opt =
%(CONFIG)s
doc =
sphinx>=4.1.1
sphinx_rtd_theme
recommonmark
sphinx-copybutton
sphinxcontrib-jquery
all =
%(core_opt)s
%(app_opt)s
all_mac =
%(core_opt)s
%(app_opt_mac)s
test_support =
isort==5.13.2
flake8==7.1.1
black==24.8.0
click==8.1.7
pytest-xdist==3.6.1
pytest-cov==5.0.0
pandas>=1.5.1
test =
%(all)s
%(test_support)s
test_mac =
%(all_mac)s
%(test_support)s
dev =
%(doc)s
%(test)s
dev_mac =
%(doc)s
%(test_mac)s
[options.entry_points]
console_scripts =
nvflare=nvflare.cli:main
[flake8]
select = B,C,E,F,N,P,T4,W,B9
max_line_length = 120
# E501 is not flexible enough, we're using B950 instead
# N812 lowercase 'torch.nn.functional' imported as non lowercase 'F'
ignore =
E203,
E302,
E303,
E305,
E402,
E501,
E701,
E721,
E722,
E741,
F821,
F841,
F999,
N812,
W291,
W503,
W504
per_file_ignores = __init__.py: F401
exclude = *.pyi,.git,.eggs,nvflare/_version.py,versioneer.py,venv,.venv,_version.py,*grpc.py,*_pb2.py
[pydocstyle]
convention = google
add_ignore = D100,D101,D102,D103,D104,D105,D106
# match-dir=([^\.].*)|(.*(?!protos).*)
match-dir=((?!protos).)*
[versioneer]
VCS = git
style = pep440
versionfile_source = nvflare/_version.py
versionfile_build = nvflare/_version.py
tag_prefix =