-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete the original contents
- Loading branch information
Showing
1 changed file
with
0 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1 @@ | ||
from __future__ import absolute_import, division, print_function | ||
|
||
import setuptools | ||
|
||
__name__ = 'federatedscope' | ||
__version__ = '0.3.0' | ||
URL = 'https://github.com/alibaba/FederatedScope' | ||
|
||
minimal_requires = [ | ||
'numpy<1.23.0', 'scikit-learn==1.0.2', 'scipy==1.7.3', 'pandas', | ||
'grpcio>=1.45.0', 'grpcio-tools', 'pyyaml>=5.1', 'fvcore', 'iopath', | ||
'wandb', 'tensorboard', 'tensorboardX', 'pympler', 'protobuf==3.19.4', | ||
'matplotlib' | ||
] | ||
|
||
test_requires = ['pytest', 'pytest-cov'] | ||
|
||
dev_requires = test_requires + ['pre-commit', 'networkx', 'matplotlib'] | ||
|
||
org_requires = ['paramiko==2.11.0', 'celery[redis]', 'cmd2'] | ||
|
||
app_requires = [ | ||
'torch-geometric==2.0.4', 'nltk', 'transformers==4.16.2', | ||
'tokenizers==0.10.3', 'datasets', 'sentencepiece', 'textgrid', 'typeguard', | ||
'openml==0.12.2' | ||
] | ||
|
||
benchmark_hpo_requires = [ | ||
'configspace==0.5.0', 'hpbandster==0.7.4', 'smac==1.3.3', 'optuna==2.10.0' | ||
] | ||
|
||
benchmark_htl_requires = ['learn2learn'] | ||
|
||
full_requires = org_requires + benchmark_hpo_requires + \ | ||
benchmark_htl_requires + app_requires | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name=__name__, | ||
version=__version__, | ||
author="Alibaba Damo Academy", | ||
author_email="[email protected]", | ||
description="Federated learning package", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url=URL, | ||
download_url=f'{URL}/archive/{__version__}.tar.gz', | ||
keywords=['deep-learning', 'federated-learning', 'benchmark'], | ||
packages=[ | ||
package for package in setuptools.find_packages() | ||
if package.startswith(__name__) | ||
], | ||
install_requires=minimal_requires, | ||
extras_require={ | ||
'test': test_requires, | ||
'app': app_requires, | ||
'org': org_requires, | ||
'dev': dev_requires, | ||
'hpo': benchmark_hpo_requires, | ||
'htl': benchmark_htl_requires, | ||
'full': full_requires | ||
}, | ||
license="Apache License 2.0", | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
], | ||
python_requires='>=3.9', | ||
) |