Symlink settings/permissions on macOS environment
Hi!
I continue trying to make macOS builds for my Open Source Python app with AppVeyor.
After activating the desired Python environment, I run:
- python3 -m pip install -r requirements.txt
- python3 -m pip install -U pyinstaller
- pyinstaller macos_build.spec
And the build process starts. But the result is not satisfactory because PyInstaller cannot create the symbolic links, or they are not preserved on AppVeyor macOS environment. Everything goes fine on my local machine with the same (latest) version of it and the same macos_build.spec
file, though!
As a result, instead of creating symbolic links, it duplicates the same files in different folders inside the *.app bundle. The app size becomes ~900 MB instead of ~200 MB, and it doesn't work!..
This case is described in PyInstaller documentation:
Failing to preserve symbolic links will turn them into full file copies; the duplicated files will balloon the size of your frozen application, and may also lead to run-time issues.
Thanks for your help!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by gdalik on 09 Feb, 2024 02:22 AM
It turned out to be a zip archivation problem...
gdalik closed this discussion on 09 Feb, 2024 02:22 AM.