mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Merge branch 'python-legacy-2' into 'master'
python: cd to source on legacysetup See merge request redox-os/redox!2261
This commit is contained in:
commit
f7fa722ac5
@ -377,7 +377,9 @@ function cookbook_python {
|
||||
# no way to do out-of-tree build: https://github.com/pypa/setuptools/issues/3237
|
||||
rsync -a "${COOKBOOK_SOURCE}/" ./source
|
||||
if [ -n "${COOKBOOK_PYTHON_LEGACY_SETUP}" ]; then
|
||||
python3 ./source/setup.py install
|
||||
pushd ./source
|
||||
python3 ./setup.py install
|
||||
popd
|
||||
fi
|
||||
"${COOKBOOK_PYTHON}" -m pip install --prefix="${COOKBOOK_STAGE}/usr" \
|
||||
"./source${COOKBOOK_PYTHON_PYPROJECT_PATH:+/$COOKBOOK_PYTHON_PYPROJECT_PATH}" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user