realpython / python-guide

Python best practices guidebook, written for humans.
https://docs.python-guide.org
Other
28.18k stars 5.82k forks source link

Freezing your code Windows section needs a note about long pathnames #1005

Open j-lawrence-b1 opened 5 years ago

j-lawrence-b1 commented 5 years ago

cx_freeze, py2exe, and pyinstaller all have the same issue: That is, .exes created by these tools cannot access Windows path names longer than the 260 char MAX_PATH limit.

j-lawrence-b1 commented 5 years ago

I should add that published workarounds, like "Enable Win32 long paths" in gpedit.msc have no effect.

htgoebel commented 5 years ago

@j-lawrence-b1 PyInstaller maintiner her. If you know ow to solve this, I'd appreciate a pull-request.