[Pythonmac-SIG] py2app error 10810...

Christopher Barker Chris.Barker at noaa.gov
Mon Nov 3 19:03:17 CET 2008


Sarah Ring wrote:
> I have Python version 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) and 
> Py2app version 0.3

You may want to upgrade:

$easy_install -U py2app

should do it.

> I'm not using any packages for this test, but I plan to use pyqt4 in the 
> future.
> 
> I tried py2applet --make-setup hello.py

That should create a setup.py for you, which you can then modify. What 
do you get?

  (also tried py2applet hello.py
> --make-setup)

that's not the right syntax, which explains:

 > '/Users/xxx/Documents/epics/Fall08/--make-setup': doesn't exist or 
not  > a regular file

  to create a setup.py. It goes through: *** using recipe:
> sip ***, *** filtering dependencies ***, *** create binaries ***, *** 

this makes me think you are using pyqt in your hello.py script -- pyqt 
uses SIP. You may want to start with the simplest script possible, then 
add in packages, so  you know where the problems are.


> I had just said "py2applet hello.py" and it created a .app, but I guess 
> it was missing this setup.py. Is there another call I can use to make a 
> setup.py?

the above should do it -- be sure to let us know exactly what output you 
get.

the other option is to copy and paste a setup.py from the docs, and 
start from there -- it's really not any harder.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list