forked from APPFL/APPFL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
70 lines (66 loc) · 1.67 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
import setuptools
# Build Author list
authors = {
"Kibaek Kim": "[email protected]",
"Minseok Ryu": "[email protected]",
"Youngdae Kim": "[email protected]",
}
AUTHOR = ""
for i, (k, v) in enumerate(authors.items()):
if i > 0:
AUTHOR += ", "
AUTHOR += f"{k} <{v}>"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="appfl",
version="0.1.2",
author=AUTHOR,
description="An open-source package for privacy-preserving federated learning",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/APPFL/APPFL",
project_urls={
"Bug Tracker": "https://github.com/APPFL/APPFL/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.6",
install_requires=[
"numpy",
"torch",
"grpcio",
"grpcio-tools",
"omegaconf",
],
extras_require={
"dev": [
"sphinx",
"sphinx_rtd_theme",
"myst-parser",
"nbsphinx",
"twine",
"build",
"black",
"pytest",
"pytest-mpi",
"torchvision",
"mpi4py",
],
"analytics": [
"jupyter",
"tensorboard",
"matplotlib",
],
"mpi": ["mpi4py"],
"examples": [
"opencv-python",
"torchvision",
],
},
)