From 235c83501652ac7332989cd0540b64703797cc82 Mon Sep 17 00:00:00 2001 From: jinyaohui Date: Mon, 7 Dec 2020 15:02:09 +0800 Subject: [PATCH] setup add required_package --- requirements.txt | 3 +-- setup.py | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9fc01c97514..ee3acb9d70e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,8 +13,7 @@ matplotlib >= 3.1.3 # for ut test opencv-python >= 4.1.2.30 # for ut test sklearn >= 0.0 # for st test pandas >= 1.0.2 # for ut test -bs4 -astunparse +astunparse >= 1.6.3 packaging >= 20.0 pycocotools >= 2.0.0 # for st test tables >= 3.6.1 # for st test diff --git a/setup.py b/setup.py index b6676398cc5..c47c8ba48f4 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,7 @@ def build_dependencies(): build_dependencies() required_package = [ - 'numpy >= 1.17.0', + 'numpy >= 1.17.0, <= 1.17.5', 'protobuf >= 3.8.0', 'asttokens >= 1.1.13', 'pillow >= 6.2.0', @@ -117,7 +117,9 @@ required_package = [ 'easydict >= 1.9', 'sympy >= 1.4', 'cffi >= 1.13.2', + 'wheel >= 0.32.0', 'decorator >= 4.4.0', + 'setuptools >= 40.8.0', 'astunparse >= 1.6.3', 'packaging >= 20.0' ]