Python Newbie question

I

insideview

Is it possible to combine or bundle separate .exe files into the
compiled python .exe when using py2exe? If possible, how would that be
described within setup.py ..... and how/where would I specify such .exe
should be ran first in the pre-compiled scripts? My goal is to get the
total package down to as few files as possible, so I appreciate
understanding how I could do this. The .exe is some low-level commands
that was compiled in a separate language.... but I hope this little
..exe can be included gracefully. Thank you for your expertise! :) AMYMC
 
L

Larry Bates

Is it possible to combine or bundle separate .exe files into the
compiled python .exe when using py2exe? If possible, how would that be
described within setup.py ..... and how/where would I specify such .exe
should be ran first in the pre-compiled scripts? My goal is to get the
total package down to as few files as possible, so I appreciate
understanding how I could do this. The .exe is some low-level commands
that was compiled in a separate language.... but I hope this little
.exe can be included gracefully. Thank you for your expertise! :) AMYMC
Do this with the installer instead of with py2exe. Take a look at
Inno Setup (http://www.jrsoftware.org/isinfo.php). With it you can put
as many files (.exe or otherwise) and have supporting .exe's run in any
order you wish (after installation). This was you have only 1 file
(setup.exe) that needs to be distributed. Doesn't really matter ho
many files it installs when it runs, that's all hidden from the user
anyway.

-Larry Bates
 

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,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top