Commit a376e320 authored by Grzegorz Kostkowski's avatar Grzegorz Kostkowski

Investigate clarin pypi issue

parent aa8e76f6
Pipeline #43 failed with stage
in 20 seconds
......@@ -5,8 +5,7 @@ stages:
test:
script:
- whoami
- ci/set_clarin_pypi.sh
- ci/set_clarin_pypi.sh $(whoami)
- cat ~/.pydistutils.cfg ~/.pip/pip.conf
- python setup.py install
- cd test && ./test.sh
#!/bin/bash
USAGE="USAGE: $0 [user_name]"
# This simple script is used inside fresh container.
# Note: this will override content of ~/.pydistutils.cfg and ~/.pip/pip.conf !
user_dir="~"
if [ ! -z "$1" ];then
user_dir="/home/$1"
fi
PYPI_URL='https://pypi.clarin-pl.eu/'
echo -e "[easy_install]\nindex_url = $PYPI_URL" > ~/.pydistutils.cfg
mkdir -p ~/.pip
echo -e "[global]\nindex-url = $PYPI_URL" > ~/.pip/pip.conf
echo -e "[easy_install]\nindex_url = $PYPI_URL" > "$user_dir"/.pydistutils.cfg
mkdir -p "$user_dir"/.pip
echo -e "[global]\nindex-url = $PYPI_URL" > "$user_dir"/.pip/pip.conf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment