Fixed pip retries argument not accepting exponent notation value
This commit is contained in:
parent
5f603fddc3
commit
77ba3dac5a
@ -25,7 +25,7 @@ export JUPYTER_RUNTIME_DIR="$JUPYTER_ROOT_PATH"/runtime
|
|||||||
export JUPYTER_DATA_DIR="$JUPYTER_ROOT_PATH"/data
|
export JUPYTER_DATA_DIR="$JUPYTER_ROOT_PATH"/data
|
||||||
|
|
||||||
enable_venv(){
|
enable_venv(){
|
||||||
test ! -d "$VENV_PATH" && echo 'Python virtual envrionnement not installed' && exit 1
|
test ! -d "$VENV_PATH" && echo 'Python virtual environnement not installed' && exit 1
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--windows|-W) ENV_PATH="$VENV_PATH"/Scripts/activate ;;
|
--windows|-W) ENV_PATH="$VENV_PATH"/Scripts/activate ;;
|
||||||
@ -47,8 +47,8 @@ case "$1" in
|
|||||||
echo '{ "theme": "JupyterLab Dark" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/themes.jupyterlab-settings
|
echo '{ "theme": "JupyterLab Dark" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/themes.jupyterlab-settings
|
||||||
echo '{ "fetchNews": "false" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/notification.jupyterlab-settings
|
echo '{ "fetchNews": "false" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/notification.jupyterlab-settings
|
||||||
enable_venv "$2"
|
enable_venv "$2"
|
||||||
python -m pip install --timeout 60 --retries 1e16 -U pip setuptools
|
python -m pip install --timeout 120 --retries 10000000000 -U pip setuptools
|
||||||
pip install --timeout 60 --retries 1e16 -r requirements.txt
|
pip install --timeout 120 --retries 10000000000 -r requirements.txt
|
||||||
;;
|
;;
|
||||||
|
|
||||||
k|-k|kernel|--kernel)
|
k|-k|kernel|--kernel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user