configure pip
This commit is contained in:
parent
124200a5ad
commit
4ce608c7f8
2 changed files with 8 additions and 1 deletions
6
spcd.sh
6
spcd.sh
|
@ -7,6 +7,7 @@
|
|||
[ -n "${SPCD_DNS_1}" ] || SPCD_DNS_1="9.9.9.9"
|
||||
[ -n "${SPCD_GIT_MAIN}" ] || SPCD_GIT_MAIN="spcd"
|
||||
[ -n "${SPCD_GIT_ROOT}" ] || SPCD_GIT_ROOT="rwx"
|
||||
[ -n "${SPCD_URL_PYTHON}" ] || SPCD_URL_PYTHON="https://pypi.org/project"
|
||||
|
||||
# main
|
||||
spcd_main() {
|
||||
|
@ -662,6 +663,11 @@ spcd_install_packages() {
|
|||
# FIXME arch
|
||||
*) ;;
|
||||
esac
|
||||
spcd_split
|
||||
spcd_write "/etc/pip.conf" "\
|
||||
[global]
|
||||
index-url = ${SPCD_URL_PYTHON}
|
||||
"
|
||||
# rsync
|
||||
spcd_step "Install Rsync"
|
||||
spcd_install_package "rsync"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue