only main and root packages
This commit is contained in:
parent
7a8b64c3b4
commit
0387195fa8
1 changed files with 10 additions and 7 deletions
7
spcd.sh
7
spcd.sh
|
@ -709,9 +709,12 @@ index-url = ${SPCD_URL_PYTHON}
|
|||
spcd_ip__venv="/opt/venv"
|
||||
"${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}"
|
||||
spcd_split
|
||||
for spcd_ip__name in "spcd" "rwx"; do
|
||||
rsync --archive --verbose \
|
||||
"${SPCD_PYTHON_PACKAGES}" \
|
||||
"${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages"
|
||||
"${SPCD_PYTHON_PACKAGES}/${spcd_ip__name}/" \
|
||||
"\
|
||||
${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages/${spcd_ip__name}/"
|
||||
done
|
||||
spcd_split
|
||||
. "${spcd_ip__venv}/bin/activate"
|
||||
spcd_split
|
||||
|
|
Loading…
Reference in a new issue