bundle to dmg datafiles goes to Resources folder #2167
Replies: 4 comments 11 replies
-
it seems except lib ,other folder under resources folder dont have a soft link @marcelotduarte |
Beta Was this translation helpful? Give feedback.
-
cx_Freeze/cx_Freeze/command/bdist_mac.py Line 432 in 1ad5aed # Make symlink between Resources/lib and Contents/MacOS so we can use # none-relative reference paths in order to pass codesign... resources_lib_dir = os.path.join(self.resources_dir, "lib") origin = os.path.join(self.bin_dir, "lib") relative_reference = os.path.relpath(resources_lib_dir, self.bin_dir) self.execute( os.symlink, (relative_reference, origin, True), msg=f"linking {origin} -> {relative_reference}", ) |
Beta Was this translation helpful? Give feedback.
-
the other issue about logging, I use a venv python 3.10 to build dmg, why run exe give me conda 3.9 logging
I can not tell whether is a uvicorn issue or build problem |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a similar issue years ago, using flask. I solved the issue calling the web server programmatically. |
Beta Was this translation helpful? Give feedback.
-
my code actually look for files in the same folder where executable lives.
if I only build bdist_mac like this works well
the .app dmg get will leave us all error
Beta Was this translation helpful? Give feedback.
All reactions