python/simple
This commit is contained in:
parent
e705f46bda
commit
da192ab113
1 changed files with 3 additions and 2 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue