Skip to content

Commit

Permalink
no external strip
Browse files Browse the repository at this point in the history
  • Loading branch information
PJDude committed Jan 12, 2025
1 parent 0eed945 commit 59d7cf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ jobs:
- name: install requirements
run: pip install -r requirements.txt

- name: strip python binaries
run: find $pythonLocation -name *.so* -type f -exec strip {} \;
#- name: strip python binaries
# run: find $pythonLocation -name *.so* -type f -exec strip {} \;

#####################################
- name: version download
Expand Down
4 changes: 1 addition & 3 deletions scripts/pyinstaller.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ echo "pillow " `python3 -c "import PIL; print(PIL.__version__)"` >> distro.

echo ''
echo running-pyinstaller-stage_dude
pyinstaller --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir --additional-hooks-dir=. --collect-binaries tkinterdnd2 --collect-binaries numpy --collect-binaries scipy --collect-data scipy --hidden-import='PIL._tkinter_finder' ./dude.py
#--strip
#--optimize 2
pyinstaller --strip --noconfirm --noconsole --clean --add-data="distro.info.txt:." --add-data="version.txt:." --add-data="../LICENSE:." --contents-directory=internal --distpath=$outdir --additional-hooks-dir=. --collect-binaries tkinterdnd2 --collect-binaries numpy --collect-binaries scipy --collect-data scipy --hidden-import='PIL._tkinter_finder' --optimize 2 ./dude.py

echo ''
echo packing
Expand Down

0 comments on commit 59d7cf2

Please sign in to comment.