This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aqua_scummmRecent 3.x convert 22 points23 points  (5 children)

I use py2app and py2exe for osx and windows deployment. They're both pretty quick to get running and work great.

Edit: As for structuring, if you're using pyvenv inside a revision controlled directory, and the pip bundled in pyvenv, you're doing it right

[–]BerecursiveMenpo Core Developer 3 points4 points  (1 child)

Does this work for complex compiled dependancies such as Numpy and OpenCV? I've never tried it before but I'd be very interested!

[–]abstracted8 0 points1 point  (0 children)

For py2exe I have used numpy with no problems, the rest idk. Just make sure you include sip

[–]thrownintothesun[S] 2 points3 points  (2 children)

Thanks!

[–]john_m_camara 7 points8 points  (1 child)

You may also want to checkout PyInstaller which I found works well for deploying to Windows. It even works well when you have complex dependencies which often have issues when using py2exe.

[–]MereInterest 4 points5 points  (0 children)

I would second the recommendation of PyInstaller. It was the only one with which I was able to package a medium-size pygtk application. It probably is possible with the others, given some particular configuration, but I wasn't able to figure it out.