From da192ab1131e840bf7293f4eb1870f8c25121719 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 30 Aug 2024 23:34:11 +0200 Subject: [PATCH] python/simple --- spcd/bootstrap.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 4e0db62..8f91ca7 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -464,7 +464,8 @@ spcd_step__environment_defaults_set() { # /update/… SPCD_URL_OPENSUSE="https://download.opensuse.org" [ -n "${SPCD_URL_PYTHON}" ] || - SPCD_URL_PYTHON="https://pypi.org/simple" + # /simple + SPCD_URL_PYTHON="https://pypi.org" [ -n "${SPCD_URL_ROCKY}" ] || # /$contentdir/$releasever/… SPCD_URL_ROCKY="https://dl.rockylinux.org" @@ -1234,7 +1235,7 @@ spcd_step__python_install() { spcd_step "Configure PIP" spcd_os_write "/etc/pip.conf" "\ [global] -index-url = ${SPCD_URL_PYTHON} +index-url = ${SPCD_URL_PYTHON}/simple " spcd_step "Create" "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}"