This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
97 lines (94 loc) · 2.5 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
91
92
93
94
95
96
97
import setuptools
# Build Author list
authors = {
"Kibaek Kim": "[email protected]",
"Minseok Ryu": "[email protected]",
"Youngdae Kim": "[email protected]",
"Hieu Hoang": "[email protected]",
"Zachary Ross": "[email protected]",
"Zilinghan Li": "[email protected]",
"Sang-il Yim": "[email protected]",
"Shourya Bose": "[email protected]",
"Shilan He": "[email protected]",
"Grant Wilkins": "[email protected]",
"Ravi Madduri": "[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="1.0.0",
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.8",
install_requires=[
"numpy",
"torch",
"grpcio",
"grpcio-tools",
"omegaconf",
"globus-sdk",
"mpi4py",
"globus-compute-sdk",
"globus-compute-endpoint",
"boto3",
"botocore",
"lz4",
"zfpy",
"zstd",
"blosc",
"python-xz",
"matplotlib",
"torchvision",
],
extras_require={
"dev": [
"sphinx",
"sphinx_rtd_theme",
"pydata-sphinx-theme",
"sphinx-design",
"sphinx-copybutton",
"sphinx-contributors",
"myst-parser",
"nbsphinx",
"twine",
"build",
"black",
"pytest",
"pytest-mpi",
],
"examples": [
"opencv-python",
"pandas",
"pyarrow",
"fastparquet",
"tqdm",
"jupyter",
"wget",
],
},
entry_points={
"console_scripts": [
"appfl-auth=appfl.login_manager.globus.cli:auth",
"appfl-install-compressor=appfl.compressor.install:install_compressor"
],
},
)