-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
53 lines (50 loc) · 1.64 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
from setuptools import setup, find_packages
from os import path as os_path
__version__ = "0.3.0"
this_directory = os_path.abspath(os_path.dirname(__file__))
setup(
name="fedhf",
version=__version__,
keywords=[
"federated learning",
"deep learning",
"pytorch",
"asynchronous federated learning",
"wandb",
],
author="Bingjie Yan",
author_email="bj.yan.pa@qq.com",
maintainer="Bingjie Yan",
maintainer_email="bj.yan.pa@qq.com",
description="A Federated Learning Framework which is Heterogeneous and Flexible.",
long_description=open(os_path.join(this_directory, "README.md")).read(),
long_description_content_type="text/markdown",
license="Apache-2.0 License",
url="https://github.com/beiyuouo/fedhf",
packages=find_packages(include=["fedhf", "fedhf.*", "LICENSE"]),
package_data={"": ["*.yaml"]},
install_requires=[
"torch>=1.8.2",
"torchvision>=0.9.2",
"numpy",
"wandb",
"ezkfg",
"pyyaml",
"urllib3==1.25.3",
],
extras_require={
"dev": ["pytest", "pytest-order", "mkdocs"],
"test": ["pytest", "pytest-order"],
"docs": ["mkdocs"],
},
python_requires=">=3.6",
classifiers=[
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
)