Using freeze.py's output and compiling in Windows

  • Thread starter Di Biase, Paul A CIV NAVAIR, 4.4
  • Start date
D

Di Biase, Paul A CIV NAVAIR, 4.4

I have learned python (and wxpython) over the past year and it has taken
over every other language in my work environment for almost every task
(langs: matlab, VBA, fortran...yes fortran, c++, more too...).

My main concern has always been distribution of software over our
internal networked computers. Essentially, installing python on the
machines is not an option and I'd like another avenue besides using
py2exe as a bundling tool.

This lead me to looking at freeze.py (which is available through the
source files but NOT the binary installation). My understanding of
freeze.py is that it outputs C source code and a makefile (if it
works...) which can then be compiled using linux's make and make install
creating a binary.

Is it possible to take the output from freeze.py and compile the
resulting source code in a Windows environment, creating a "standalone"
windows executable?

If this method has been covered else where, please point me in that
direction and I'll do the grunt work. As far as I can tell, this exact
topic hasn't received any attention.

Regards,
Paul
 
J

John Yeung

I'd like another avenue besides using
py2exe as a bundling tool.

This lead me to looking at freeze.py.

Judging by the wiki page (http://wiki.python.org/moin/Freeze) and some
other miscellaneous Googling, it would seem freeze is merely *nix's
py2exe (or py2exe is Windows's freeze). I think if you were to make
the necessary adjustments to freeze.py in order to make it generate
Windows executables, what you'd end up with is essentially your own
version of py2exe. I would not be at all surprised if that is
actually how py2exe came into existence in the first place.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top