Mindwerks / worldengine

World generator using simulation of plates, rain shadow, erosion, etc.
MIT License
987 stars 128 forks source link

Consider PyInstaller #85

Closed ftomassetti closed 9 years ago

ftomassetti commented 9 years ago

If it works, list the project under: https://github.com/pyinstaller/pyinstaller/wiki/Projects-Using-PyInstaller

The executable can also be signed under Windows: https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Win-Code-Signing

psi29a commented 9 years ago

Going to investigate how veusz does it, as they use pyqt as well.

https://github.com/jeremysanders/veusz

ftomassetti commented 9 years ago

great, I think this is the most crucial aspect to release our first version

ftomassetti commented 9 years ago

(closed by mistake, sorry)

psi29a commented 9 years ago

No worries, I just sent an email asking a few questions about how they do it.

From what I see, for OSX they use py2app and put all relevant information in the setup.py file.

For windows, it seems they use a combination NSIS (to make an installer) and PyInstaller to gather all the libs/binaries into one place.

The question now is, what magic combination of trickery allowed for this to happen.

psi29a commented 9 years ago

Was able to produce a single binary that I've tested on two locations, sent to @ftomassetti and another friend and they all run. I consider this a success and have added documentation.

It is in this PR: https://github.com/Mindwerks/worldengine/pull/102

I'm closing this issue. :)