I want to use the same .spec file for building packages for both Mac and
Windows.
In order to get the right artefact names coming out, I set my exe to:
exe = EXE(...
name='ProjectName'
This works well with Mac.
However, when I use this spec file for a Windows .exe, a file called
`ProjectName` would be created (without the .exe extension). I thought that
filenames don't matter too much, so I manually give it the .exe extension
and call it what I like. Say, `example.exe`.
When I open my renamed executable, I get the following error:
<https://lh6.googleusercontent.com/-A6tYmXdKuGo/Umg3CgTrRGI/AAAAAAAAFLU/3lJ7LUA5WNU/s1600/Screen+Shot+2013-10-23+at+21.50.19.png>
... and then the application runs as normal. Why is this?
How should I write my spec file such that it works with both platforms?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.