package.sh /path/to/my/main.py MyProject On the first run it’ll give you instructions on setting up your dedicated wine environment, but you won’t need to do this again. Visit the project on GitHub or clone the repo and get involved. Today I knocked up some scripts to help create and manage a dedicated Wine “build” environment and run Pyinstaller inside Wine to create a “frozen” standalone Windows executable file from your Python source. Since Pyinstaller-2.0 came out a while back I felt it was only right to revisit and see if I could make a more robust setup. I’ve used Pyinstaller v1.5 in the past quite a bit with some success but doing so in Wine on Linux has always been a bit flaky. If, like me, you develop in Linux, it’s a positive migraine. If you’ve ever had to deploy Python on Windows you’ll know it’s a headache. Paul Fawkesley Paul Fawkesley February 2013 Packaging Python for Windows with Pyinstaller and Wine
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |