From c527d55ec751c4533be5c3dc22bce09c391555ec Mon Sep 17 00:00:00 2001
From: Shenghang Tsai <jackalcooper@gmail.com>
Date: Fri, 16 Jul 2021 12:37:54 +0800
Subject: [PATCH] piprepo->pipindex (#5517)

* piprepo->pipindex

* refine

* save
---
 ci/test/try_install.sh             | 4 ++--
 docker/ci/test-v2/requirements.txt | 2 +-
 docker/ci/test/requirements.txt    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ci/test/try_install.sh b/ci/test/try_install.sh
index e7c4d9cee..1da22d004 100644
--- a/ci/test/try_install.sh
+++ b/ci/test/try_install.sh
@@ -11,8 +11,8 @@ if [ -n "$index" ]; then
 elif [ -d "$wheel_path" ]; then
     ls -la $wheel_path
     export PATH=/root/.local/bin:$PATH
-    python3 -m pip install piprepo==0.1.3 --user
-    piprepo build $wheel_path
+    python3 -m pip install https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl --user
+    pipindex build $wheel_path
     python3 -m pip install -U --user --extra-index-url file://${wheel_path}/simple ${pkg_name}
 elif [ -e "$wheel_path" ]; then
     python3 -m pip install --user "$wheel_path"
diff --git a/docker/ci/test-v2/requirements.txt b/docker/ci/test-v2/requirements.txt
index c01cf243b..97bc8f55d 100644
--- a/docker/ci/test-v2/requirements.txt
+++ b/docker/ci/test-v2/requirements.txt
@@ -6,4 +6,4 @@ pycocotools
 opencv-python==4.2.0.34
 scipy
 pillow
-piprepo
+https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl
diff --git a/docker/ci/test/requirements.txt b/docker/ci/test/requirements.txt
index a4771a438..ebff5a158 100644
--- a/docker/ci/test/requirements.txt
+++ b/docker/ci/test/requirements.txt
@@ -7,4 +7,4 @@ opencv-python==4.2.0.34
 scipy
 pillow
 tensorflow-addons==0.9.1
-piprepo
+https://oneflow-static.oss-cn-beijing.aliyuncs.com/pipindex/pipindex-0.1.3-py2.py3-none-any.whl
-- 
GitLab