Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
The following code is an example provided in the documentation of spec files to introduce how to use
It seems to suggest that the syntax is
But after inspecting the unzipped executable in a temp folder compiled using Pyinstaller 3.5.dev0 under Python 3.7 in Windows 10, it is discovered that the actual syntax is
For example, if you specify
P.S. My first time to open an issue in GitHub, please let me know if I need to provide any extra info.
Thanks for reporting. Indeed the documentation could be improved here.
For generating the destination names for both data and binaries, the same code is used (
Well done! :-) Now what about submitting you first pull-request :-) See our Development Guide on how to create pull-requests for PyInstaller. Thanks.
You could adopt (correct) the example, maybe even add a second one, and refer to the Adding Data Files section for details.