Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.lunar: Make Python stop trying to manage packages #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libs/build.lunar
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ default_python2_build() {

export PYTHONDONTWRITEBYTECODE=1 &&
python2 setup.py build &&
python2 setup.py install --root="$_PYDESTDIR" $OPTS &&
python2 setup.py install --root="$_PYDESTDIR" --single-version-externally-managed $OPTS &&
prepare_install &&
cp -rfv --preserve=mode,ownership --remove-destination "$_PYDESTDIR"/* /
}
Expand All @@ -377,7 +377,7 @@ default_python3_build() {

export PYTHONDONTWRITEBYTECODE=1 &&
python3 setup.py build &&
python3 setup.py install --root="$_PYDESTDIR" $OPTS &&
python3 setup.py install --root="$_PYDESTDIR" --single-version-externally-managed $OPTS &&
prepare_install &&
cp -rfv --preserve=mode,ownership --remove-destination "$_PYDESTDIR"/* /
}
Expand Down