py2exe and output executable name

M

Miki Tebeka

Hello All,

Is there a way to tell py2exe to create an executable with arbirary name?
Currently the executable name is the script name with .exe suffix.

Thanks.
--
------------------------------------------------------------------------
Miki Tebeka <[email protected]>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDFufP8jAdENsUuJsRAh0fAJ0VbCUd8rrvSB6MrpIkYJYf0ucURACguFBb
eJaNLuANKX2qe7PnvZYHa9k=
=Yq13
-----END PGP SIGNATURE-----
 
T

Thomas Heller

Miki Tebeka said:
Hello All,

Is there a way to tell py2exe to create an executable with arbirary name?
Currently the executable name is the script name with .exe suffix.

See the advanced sample in lib/site-packages/py2exe/samples/advanced.
The executable name is defined by the 'dest_base' attribute of the
Target class. This sample uses it to build a console *and* a gui
version at the same time from the small wxPython script, with different
names.

Thomas
 

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,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top