Re: [Pythonmac-SIG] Fun with py2app and OpenGL

2010-03-15 Thread R Fritz
Correction, I think this one was my error, though I still haven't run 
it all the way to ground. Sorry, folks.


Randolph

On 2010-03-15 12:45:16 -0700, R Fritz said:


What's happening is that the files sometimes aren't found in
site_packages.zip. Say what?

(the site.py problem was a result of zipping and unzipping the app--zip
did something to the embedded zip files.)

On 2010-03-15 10:26:39 -0700, Christopher Barker said:


R Fritz wrote:

Explicitly including packages 'photom' (mine) and 'OpenGL' (published)


why did you explicitly include them? They should have been picked up by
py2app unless you import them in an odd way.

I've got an OpenGL app bundling up fine without any tricks, and it puts
OpenGL into:

Maproom.app/Contents/Resources/lib/python2.5/OpenGL/

maybe there is a py2app recipe that handles that.

-Chris



--
Randolph Fritz
 design machine group, architecture department, university of washington
rfr...@u.washington.edu -or- rfritz...@gmail.com


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] Fun with py2app and OpenGL

2010-03-15 Thread R Fritz
What's happening is that the files sometimes aren't found in 
site_packages.zip. Say what?


(the site.py problem was a result of zipping and unzipping the app--zip 
did something to the embedded zip files.)


On 2010-03-15 10:26:39 -0700, Christopher Barker said:


R Fritz wrote:

Explicitly including packages 'photom' (mine) and 'OpenGL' (published)


why did you explicitly include them? They should have been picked up by
py2app unless you import them in an odd way.

I've got an OpenGL app bundling up fine without any tricks, and it puts
OpenGL into:

Maproom.app/Contents/Resources/lib/python2.5/OpenGL/

maybe there is a py2app recipe that handles that.

-Chris



--
Randolph Fritz
 design machine group, architecture department, university of washington
rfr...@u.washington.edu -or- rfritz...@gmail.com


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] Fun with py2app and OpenGL

2010-03-15 Thread R Fritz
I don't think I am importing them in an odd way, though photom is in my 
PYTHONPATH. There is an OpenGL recipe, yes.


But, all right, I've got it working. Now, however, I have that site.py 
problem, which I'll be bringing up over on pythonmac.


On 2010-03-15 10:26:39 -0700, Christopher Barker said:


R Fritz wrote:

Explicitly including packages 'photom' (mine) and 'OpenGL' (published)


why did you explicitly include them? They should have been picked up by
py2app unless you import them in an odd way.

I've got an OpenGL app bundling up fine without any tricks, and it puts
OpenGL into:

Maproom.app/Contents/Resources/lib/python2.5/OpenGL/

maybe there is a py2app recipe that handles that.

-Chris



--
Randolph Fritz
 design machine group, architecture department, university of washington
rfr...@u.washington.edu -or- rfritz...@gmail.com


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] Fun with py2app and OpenGL

2010-03-15 Thread Christopher Barker

R Fritz wrote:
Explicitly including packages 'photom' (mine) and 'OpenGL' (published) 


why did you explicitly include them? They should have been picked up by 
py2app unless you import them in an odd way.


I've got an OpenGL app bundling up fine without any tricks, and it puts 
OpenGL into:


Maproom.app/Contents/Resources/lib/python2.5/OpenGL/

maybe there is a py2app recipe that handles that.

-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.bar...@noaa.gov
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG


Re: [Pythonmac-SIG] Fun with py2app and OpenGL

2010-03-15 Thread R Fritz

On 2010-03-14 20:21:54 -0700, R Fritz said:


directory, the packages are dropped into ../site-packages.zip, where


Correction, "site-packages/.."

--
Randolph Fritz
 design machine group, architecture department, university of washington
rfr...@u.washington.edu -or- rfritz...@gmail.com


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG