Skip to content

Commit

Permalink
Add futures requirement, test=develop
Browse files Browse the repository at this point in the history
Signed-off-by: WangXi <[email protected]>
  • Loading branch information
wangxicoding committed Jun 28, 2020
1 parent 9995dd1 commit c29214f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
flask
pathlib2
futures; python_version == "2.7"
3 changes: 2 additions & 1 deletion python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ if os.getenv("PADDLE_EDL_VERSION"):
max_version, mid_version, min_version = python_version()

REQUIRED_PACKAGES = [
'six >= 1.10.0', 'protobuf >= 3.1.0', "flask", "pathlib2"
'six >= 1.10.0', 'protobuf >= 3.1.0', "flask", "pathlib2",
'futures; python_version == "2.7"'
]

packages=['paddle_edl',
Expand Down

0 comments on commit c29214f

Please sign in to comment.