py2exe howto

How to use py2exe? I made setup.py:

from distutils.core import setup
import py2exe

setup(name = 'DedeKusmana',
      version = '0.1',
      scripts = ['DedeKusmana.py'],
)

and __init__.py

I ran 'python setup.py py2exe' but I got lots of
warning:
warning: py2exe:

···

******************************************
**********
warning: py2exe: * The following modules were not
found:
warning: py2exe: * cmndlgsc
warning: py2exe: * utilsc
warning: py2exe: * clip_dndc
warning: py2exe: * windows3c
warning: py2exe: * filesysc
warning: py2exe: * eventsc
warning: py2exe: * windows2c
warning: py2exe: * controlsc
warning: py2exe: * misc2c
warning: py2exe: * os.path
warning: py2exe: * windowsc
warning: py2exe: * stattoolc
warning: py2exe: * mdic
warning: py2exe: * gdic
warning: py2exe: * sizersc
warning: py2exe: * printfwc
warning: py2exe: * fontsc
warning: py2exe: * imagec
warning: py2exe: * streamsc
warning: py2exe: * miscc
warning: py2exe: * controls2c
warning: py2exe: * framesc
warning: py2exe:
******************************************
**********

what should i do?

danu

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

try testing your exe file...it all goes well then you need not worry...

···

----- Original Message -----
From: "danu kusmana" <danu_milis@yahoo.com>
To: "wxpython" <wxpython-users@lists.wxwindows.org>
Sent: Tuesday, June 10, 2003 12:16 PM
Subject: [wxPython-users] py2exe howto

How to use py2exe? I made setup.py:

from distutils.core import setup
import py2exe

setup(name = 'DedeKusmana',
      version = '0.1',
      scripts = ['DedeKusmana.py'],
)

and __init__.py

I ran 'python setup.py py2exe' but I got lots of
warning:
warning: py2exe:
******************************************
**********
warning: py2exe: * The following modules were not
found:
warning: py2exe: * cmndlgsc
warning: py2exe: * utilsc
warning: py2exe: * clip_dndc
warning: py2exe: * windows3c
warning: py2exe: * filesysc
warning: py2exe: * eventsc
warning: py2exe: * windows2c
warning: py2exe: * controlsc
warning: py2exe: * misc2c
warning: py2exe: * os.path
warning: py2exe: * windowsc
warning: py2exe: * stattoolc
warning: py2exe: * mdic
warning: py2exe: * gdic
warning: py2exe: * sizersc
warning: py2exe: * printfwc
warning: py2exe: * fontsc
warning: py2exe: * imagec
warning: py2exe: * streamsc
warning: py2exe: * miscc
warning: py2exe: * controls2c
warning: py2exe: * framesc
warning: py2exe:
******************************************
**********

what should i do?

danu

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

py2exe usually complains about some modules not loadable.
If you look at your list a lot of the modules end in sc (or just c)
i.e. windowsc and controlsc (as most of the others) are part of wxPython.
They usually resolve automatically when the import wx is executed.
Those are internal calls from the SWIG wrapper.
Things like os.path are in the base library.
py2exe finds a reference, but no .py file to load for it - hence the errors.

Just start your exe. if you get a bunch of errors it's worth investigating.
Usually your app will be fine.

···

On Monday 09 June 2003 09:16 pm, danu kusmana wrote:

How to use py2exe? I made setup.py:

from distutils.core import setup
import py2exe

setup(name = 'DedeKusmana',
      version = '0.1',
      scripts = ['DedeKusmana.py'],
)

and __init__.py

I ran 'python setup.py py2exe' but I got lots of
warning:
warning: py2exe:
******************************************
**********
warning: py2exe: * The following modules were not
found:
warning: py2exe: * cmndlgsc
warning: py2exe: * utilsc
warning: py2exe: * clip_dndc
warning: py2exe: * windows3c
warning: py2exe: * filesysc
warning: py2exe: * eventsc
warning: py2exe: * windows2c
warning: py2exe: * controlsc
warning: py2exe: * misc2c
warning: py2exe: * os.path
warning: py2exe: * windowsc
warning: py2exe: * stattoolc
warning: py2exe: * mdic
warning: py2exe: * gdic
warning: py2exe: * sizersc
warning: py2exe: * printfwc
warning: py2exe: * fontsc
warning: py2exe: * imagec
warning: py2exe: * streamsc
warning: py2exe: * miscc
warning: py2exe: * controls2c
warning: py2exe: * framesc
warning: py2exe:
******************************************
**********

what should i do?

danu

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

--
  UC

--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417

danu kusmana wrote:

I ran 'python setup.py py2exe' but I got lots of
warning:

Don't worry about these warnings. Py2exe is just complaining that there was an import for those modules but it can't find a .py or a .pyd for them. Since they are contained in the wxc extension module then there is nothing to find.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!