mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
macOS: install Zenmap clean each time when building
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user