py2exe linux equivalent

B

Brendan Miller

I have a python application that I want to package up and deploy to
various people using RHEL 4.

I'm using python 2.6 to develop the app. The RHEL 4 machines have an
older version of python I'd rather not code against (although that's
an option). My main stumbling block is I need to use a couple of
python modules (paramiko and pycrypto) that include C bits in them.

Is there any tool out there that can pull in my dependencies and give
me a packaged binary that I can hand off to my users without worrying
about them having my modules or the right version of python? Extra
credit if it generates an RPM for me.

It really doens't matter if the binary generated is somewhat bloated
with excess dependencies. It can include glibc for all I care.

The main thing keeping me from using all kinds of python in my linux
development at work is not being able to package up the results and
hand them off in a convenient way.

Thanks,
Brendan
 
M

Mike Driscoll

I have a python application that I want to package up and deploy to
various people using RHEL 4.

I'm using python 2.6 to develop the app. The RHEL 4 machines have an
older version of python I'd rather not code against (although that's
an option). My main stumbling block is I need to use a couple of
python modules (paramiko and pycrypto) that include C bits in them.

Is there any tool out there that can pull in my dependencies and give
me a packaged binary that I can hand off to my users without worrying
about them having my modules or the right version of python? Extra
credit if it generates an RPM for me.

It really doens't matter if the binary generated is somewhat bloated
with excess dependencies. It can include glibc for all I care.

The main thing keeping me from using all kinds of python in my linux
development at work is not being able to package up the results and
hand them off in a convenient way.

Thanks,
Brendan

I've heard that PyInstaller can do this, but haven't actually tried
it. Let me know how it goes though, if you get the chance. Here's a
link:

http://pyinstaller.python-hosting.com/

You might also look at cx_freeze or bbfreeze.

Mike
 

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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top