By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,932 Members | 1,944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,932 IT Pros & Developers. It's quick & easy.

py2exe and output executable name

P: n/a
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 <mi*********@zoran.com>
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)

iD8DBQFDFufP8jAdENsUuJsRAh0fAJ0VbCUd8rrvSB6MrpIkYJ Yf0ucURACguFBb
eJaNLuANKX2qe7PnvZYHa9k=
=Yq13
-----END PGP SIGNATURE-----

Sep 1 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Miki Tebeka <mi*********@zoran.com> writes:
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
Sep 1 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.