mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
python: cd to source on legacysetup
This commit is contained in:
parent
56e64684d2
commit
20d9362006
@ -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