From eeb9068f7007697104fe5ba1f08cac328c4d7cc1 Mon Sep 17 00:00:00 2001 From: weiwee Date: Mon, 7 Dec 2020 15:46:50 +0800 Subject: [PATCH] fix bug (#1) Signed-off-by: weiwee --- bin/run.sh | 2 +- setup.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/run.sh b/bin/run.sh index 1babaa3..0977810 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -1,7 +1,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" PaddleDetection="$(dirname $DIR)/deps/PaddleDetection" Fedvision="$(dirname $DIR)/fedvision" -PYTHONPATH="$PYTHONPATH:$PaddleDetection:$Fedvision" +export PYTHONPATH="$PYTHONPATH:$PaddleDetection:$Fedvision" # todo: use yaml or json diff --git a/setup.py b/setup.py index 6ce08db..a16968d 100644 --- a/setup.py +++ b/setup.py @@ -20,12 +20,12 @@ "attr", "grpcio>=1.33.2,!=1.34.0", "grpcio-tools>=1.33.2,!=1.34.0", - "aiohttp>=3.7,<3.8" - "loguru>=0.5" - "protobuf==3.14.0" - "jsonschema==3.2.0" - "PyYAML>=5.3.1" - "click==7.1.2" + "aiohttp>=3.7,<3.8", + "loguru>=0.5", + "protobuf==3.14.0", + "jsonschema==3.2.0", + "PyYAML>=5.3.1", + "click==7.1.2", "paddlepaddle==1.8.5", "paddle_fl==1.1.0", ]