From 2acad636d21913e5c035fa6023b81c3ac421cff9 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Thu, 20 May 2021 14:25:22 +0800 Subject: [PATCH] update to 2.1 version (#3073) --- docs/tutorials/INSTALL.md | 2 +- docs/tutorials/INSTALL_cn.md | 2 +- setup.py | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/tutorials/INSTALL.md b/docs/tutorials/INSTALL.md index 7d9fb4e21..3833f9b75 100644 --- a/docs/tutorials/INSTALL.md +++ b/docs/tutorials/INSTALL.md @@ -72,7 +72,7 @@ PaddleDetection can be installed in the following two ways: ``` # Install paddledet via pip -pip install paddledet==2.0.1 -i https://mirror.baidu.com/pypi/simple +pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple # Download and use the configuration files and code examples in the source code git clone https://github.com/PaddlePaddle/PaddleDetection.git diff --git a/docs/tutorials/INSTALL_cn.md b/docs/tutorials/INSTALL_cn.md index ee9073c09..88357d159 100644 --- a/docs/tutorials/INSTALL_cn.md +++ b/docs/tutorials/INSTALL_cn.md @@ -62,7 +62,7 @@ python -c "import paddle; print(paddle.__version__)" ``` # pip安装paddledet -pip install paddledet==2.0.1 -i https://mirror.baidu.com/pypi/simple +pip install paddledet==2.1.0 -i https://mirror.baidu.com/pypi/simple # 下载使用源码中的配置文件和代码示例 git clone https://github.com/PaddlePaddle/PaddleDetection.git diff --git a/setup.py b/setup.py index 179983fa5..b9af4bc7d 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,9 @@ def package_model_zoo(): # exclude dataset base config if osp.split(osp.split(cfg)[0])[1] not in ['datasets']: valid_cfgs.append(cfg) - model_names = [osp.relpath(cfg, cfg_dir).replace(".yml", "") for cfg in valid_cfgs] + model_names = [ + osp.relpath(cfg, cfg_dir).replace(".yml", "") for cfg in valid_cfgs + ] model_zoo_file = osp.join(cur_dir, 'ppdet', 'model_zoo', 'MODEL_ZOO') with open(model_zoo_file, 'w') as wf: @@ -69,7 +71,7 @@ if __name__ == "__main__": packages=find_packages(exclude=("configs", "tools", "deploy")), package_data={'ppdet.model_zoo': package_model_zoo()}, author='PaddlePaddle', - version='2.0.1', + version='2.1.0', install_requires=parse_requirements('./requirements.txt'), description='Object detection and instance segmentation toolkit based on PaddlePaddle', long_description=readme(), @@ -85,9 +87,8 @@ if __name__ == "__main__": 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Topic :: Utilities' + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Utilities' - 'Programming Language :: Python :: 3.9', 'Topic :: Utilities' ], license='Apache License 2.0', ext_modules=[]) -- GitLab