diff --git a/zenmap/install_scripts/macosx/make-bundle.sh b/zenmap/install_scripts/macosx/make-bundle.sh index 21a4b755e..37d7b91e1 100755 --- a/zenmap/install_scripts/macosx/make-bundle.sh +++ b/zenmap/install_scripts/macosx/make-bundle.sh @@ -25,7 +25,7 @@ $CC $CPPFLAGS $CFLAGS $LDFLAGS -L$PREFIX/lib `python3-config --cflags --ldflags ~/gtk-mac-bundler/examples/python-launcher.c echo "Installing Zenmap to local system" -python3 -m pip install --ignore-installed --target "$PREFIX/lib/python-3.11/site-packages" . +python3 -m pip install --no-deps --force-reinstall . echo "Generating dependencies" # Have to run this with ~/gtk/inst/python3 or deps have wrong paths @@ -78,9 +78,6 @@ done python -m compileall "$PYTHONLIB"/site-packages #|| true echo "Stripping unoptimized Python libraries" -echo "Building using setuptools" -python3 -m pip install --ignore-installed --target "$BASE/Resources/lib/python-3.11/site-packages" . - echo "Renaming main Zenmap executable." mv $BASE/MacOS/$APP_NAME $BASE/MacOS/zenmap.bin # This is a dummy script, so we'll clean it up: