py2exe and output executable name

Discussion in 'Python' started by Miki Tebeka, Sep 1, 2005.

  1. Miki Tebeka

    Miki Tebeka Guest

    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 <>
    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-----
     
    Miki Tebeka, Sep 1, 2005
    #1
    1. Advertising

  2. Miki Tebeka <> 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
     
    Thomas Heller, Sep 1, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. F. GEIGER
    Replies:
    0
    Views:
    923
    F. GEIGER
    Aug 16, 2004
  2. Replies:
    15
    Views:
    492
    Dave Thompson
    Aug 21, 2006
  3. pratap
    Replies:
    20
    Views:
    763
    Flash Gordon
    Mar 7, 2007
  4. Jason Cavett
    Replies:
    8
    Views:
    625
    Sanjay
    May 16, 2007
  5. Replies:
    0
    Views:
    444
Loading...

Share This Page