From fa7294b069422bf23af29c6e1e9275bf7a9c5a5f Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 23 Sep 2016 14:49:38 +0200
Subject: [PATCH] Fix pypirc

---
 gitlab/functions.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index f1921e8..e226657 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -81,7 +81,7 @@ username: ${PYPIUSER}
 password: ${PYPIPASS}
 
 [staging]
-repository: https://testpypi.python.org/
+repository: ${TESTSERVER}
 username: ${PYPIUSER}
 password: ${PYPIPASS}
 EOT
@@ -159,10 +159,10 @@ BOB_PREFIX_PATH=${CONDA_FOLDER}/envs/bob-devel-${PYVER}
 BOB_DOCUMENTATION_SERVER="${DOCSERVER}/software/bob/docs/latest/bob/%s/master/"
 
 if [ -z "${PYPISERVER}" ]; then
-  PYPISERVER="https://pypi.python.org"
+  PYPISERVER="https://pypi.python.org/pypi"
 fi
 
-TESTSERVER=https://testpypi.python.org
+TESTSERVER=https://testpypi.python.org/pypi
 
 check_env ARCH
 check_env PYVER
-- 
GitLab