Re: [Pythonmac-SIG] Using getwcd() in a frozen app

2009-04-22 Thread Christopher Barker
eze-users/browse_thread/thread/5652e1a12a085054?hl=en# -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 mai

Re: [Pythonmac-SIG] Using getwcd() in a frozen app

2009-04-22 Thread Christopher Barker
sing py2app for that platform. It sounds like you are done, but just in case, you might look into bbfreeze -- it works on all those platforms, and while it doesn't build app bundles on OS-X, it may work well for your use. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Respon

Re: [Pythonmac-SIG] Using getwcd() in a frozen app

2009-04-21 Thread Christopher Barker
hange to the data directory (Contents/Resources) [forced for plugins] I found that here: http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#option-reference -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] Use Setup.py to install to /usr

2009-04-20 Thread Christopher Barker
a new python, and keep the old one around, so that it will still be able to run old code, so this may be a non-issue anyway. -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 fa

Re: [Pythonmac-SIG] using the "PyUSB" module

2009-04-06 Thread Christopher Barker
nclude all the optional packages. You could also try googling to see of you can find a download of just the SDK, but I have no idea if you cant do that. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand

Re: [Pythonmac-SIG] using the "PyUSB" module

2009-04-03 Thread Christopher Barker
Chris Rebert wrote: On Thu, Apr 2, 2009 at 5:36 PM, Rekow Warren wrote: I am a new MacPython (ver 2.6.1) user who has downloaded the "PyUSB" module, but am unclear about how to make it available for use in a program. Included among the downloaded files is 'setup.py' (and 'setup.pyc'). Running

Re: [Pythonmac-SIG] py2app traceback with wxPython 2.8.9.2

2009-04-02 Thread Christopher Barker
2app and macholib? $ easy_install macholib==dev -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

Re: [Pythonmac-SIG] MacPython sprint at PyCon

2009-03-26 Thread Christopher Barker
top for work, and as we speak I'm installing the piles of extra stuff I need before running for a plane XCode is HUGE! So I'll see you there, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

Re: [Pythonmac-SIG] MacPython sprint at PyCon

2009-03-25 Thread Christopher Barker
x27;m wondering 'cause I need to know if I need to bring a Mac. By the way, if we're going to work on py2app, we could take a look at what bb-freeze is doing -- I think he's forked and added to modulegraph. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency R

[Pythonmac-SIG] [Fwd: [Image-SIG] ANN: PIL 1.1.7 alpha 1 (March 17, 2009)]

2009-03-17 Thread Christopher Barker
d heads and most likely a bunch of changes done after the alpha was cut) I hope to have (some) Windows builds available early next week, at the latest. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way

Re: [Pythonmac-SIG] Python PyGame GTK SQLAlchemy on Leopard

2009-03-17 Thread Christopher Barker
ys os-X10.5 there is a good chance it's for the system python, as the python-org one is not 10.5 dependent. However, you can build a 10.5-only extension for the python.org python, so really, the only way to know is to see what the person that built it says it is for. -Chris -- Christop

Re: [Pythonmac-SIG] Python PyGame GTK SQLAlchemy on Leopard

2009-03-17 Thread Christopher Barker
Ronald Oussoren wrote: The system python is in /System/Library/... ooops, sorry about that -- copy&paste error. I hope that didn't cause too much confusion. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959

Re: [Pythonmac-SIG] Python PyGame GTK SQLAlchemy on Leopard

2009-03-16 Thread Christopher Barker
you want to use. -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...

Re: [Pythonmac-SIG] Python PyGame GTK SQLAlchemy on Leopard

2009-03-16 Thread Christopher Barker
n.org python can be installed in addition to it, outside of system directories. As for pyGTK -- another option is a fink or macports python -- these sometimes support the "unix-y" stuff better. I know it's a mess! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergen

Re: [Pythonmac-SIG] How to use pythonw on Mac OS X

2009-03-16 Thread Christopher Barker
ed for recent versions of Python. What version of OS-X are you running? Which python? how are you starting the program? -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

[Pythonmac-SIG] PyEnchant on (Universal) OS-X

2009-03-13 Thread Christopher Barker
Hi folks, Has anyone gotten PyEnchant (spell checker) working on OS-X? preferably with aspell, and a Universal build, but I'll take any success stories I can get. If so, how? thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS

Re: [Pythonmac-SIG] selecting wxpython version with py2app

2009-03-11 Thread Christopher Barker
t, you may want to use a python.org python anyway, a py2app bundle built on 10.5 will only work on 10.5. Or, alternately, how do I upgrade the system framework version of wx? You don't want to do that -- never mess with something Apple has installed, there is no telling what may use it.

Re: [Pythonmac-SIG] Macintosh Native Python Install

2009-03-02 Thread Christopher Barker
or instance?) > vs. 3.x? Still pretty new -- it's probably robust, but there are many fewer external packages supported. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (2

Re: [Pythonmac-SIG] py2app - After building for distribution, No module named PyObjCTools

2009-02-11 Thread Christopher Barker
ng a challenging app for Mac an Windows -- I used py2exe and py2app. While they both have a similar API, as son as I needed to extend what they do on their own, I found that I needed to write totally separate code -- I'd love to no have to do that! -Chris -- Christopher Barker, Ph.D. Ocea

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
break that? One option is that the GUI toolkits run the code to promote themselves to a full GUI app. In which case, I think you're above scenario would work. OF course, ALL the gui toolkits would have to add that code, but if they did, would that meet your needs? -Chris -- Christoph

Re: [Pythonmac-SIG] py2app

2009-02-03 Thread Christopher Barker
and all 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 __

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
Henning Hraban Ramm wrote: Most of *my* wxPython-based (actually dabo-based) tools don't even need to be an app bundle - doubleclicking some .py file is mostly enough. Check out "py2app -A". It's perfect for this kind of use. -Chris -- Christopher Barker, Ph.D. Ocea

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-03 Thread Christopher Barker
2.9 source tree. Sounds like the right call -- thanks! -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.b

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
Ronald Oussoren wrote: I'm seriously wondering if having "Python Launcher.app" is a good idea, and if we shouldn't scrap it entirely. I wonder, too, but if we do keep it, it could have the full-gui info.plist anyway -- would that work? -Chris -- Christopher Barker,

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
arently already is). And another option is the "pythonb" option for background apps, analogous to the old pythonw -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand P

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
same limitations of running a script directly. They build faster and more reliably that full py2app bundles, too. -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 f

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Christopher Barker
of me -- why the heck would anyone write a system shut down procedure that couldn't override a non-responsive application? -- weird. (of course, Windows does it too...) Anyway, it's hard for us to comment on the proposal if we don't' understand the issues, and since y

Re: [Pythonmac-SIG] MacPython sprint at PyCon'09?

2009-02-03 Thread Christopher Barker
lso good, though it seems the desire for a package collection has dwindled -- or is the community just waiting for some leadership to get it going again? * PyObjC not my thing -- but good stuff. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&am

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
tkinter. Does it require a change to _tkinter? If so, then all the GUI toolkits (OK, all three...) would have to be changed for this to work, which doesn't sound good. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
OK for IDLE itself, but when people are testing an debugging GUI apps (TK, or wx, or) they should be able to start a simple script at the command line without any restrictions. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206)

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
e does not keep the system python consistent between versions) In any case, it does include a info.plist, and it may include a different launch stub, so setting LSUIElement = 1 may work in either case. -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOA

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Christopher Barker
. Could you change it in the info.plist of a py2app'ed app also? I"d suggest that that be default in py2app. You kind of need to use py2app (or similar) to get an app to "act right" in the GUI anyway. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Di

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-02 Thread Christopher Barker
-- what happened to that? -oh well, I guess we'll just keep answering it! -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-63

Re: [Pythonmac-SIG] Multiple version of the same module

2009-01-26 Thread Christopher Barker
is probably why your python is finding the 1.8 egg. I know I haven't really given you the answer, but hopefully some hints to so you can figure out your options. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-20 Thread Christopher Barker
Ronald Oussoren wrote: On Thursday, January 15, 2009, at 06:20PM, "Christopher Barker" wrote: Eddie L wrote: Christopher Barker wrote: yes, I meant I have no idea where in the Py2app code, py2app actually generates the __boot__.py file, so I can't see where to add a patch..

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-15 Thread Christopher Barker
Eddie L wrote: Christopher Barker wrote: Some quick poking did not make it clear to me where py2app builds the __boot.__py file though. If you create an app with py2app then right click on it and click show package contents then you can browse the app's contents. __boot__.py is locat

Re: [Pythonmac-SIG] Py2App and PyQT

2009-01-13 Thread Christopher Barker
ubmit a patch, so there you go. -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 mai

[Pythonmac-SIG] MySQLdb Universal binary: call for testers

2009-01-08 Thread Christopher Barker
ote, I'll send it to you to test. Once it's been tested, the MySQLdb folks have offered to put it up on their sourceforge download page, which would be nice. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Christopher Barker
rects are probably fixed in the source. By the way, I've build a binary universal egg that should be re-distributable - please let me know if you want to test it, or have a place to host it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-08 Thread Christopher Barker
or me? -Chris PS: I think you may owe me two beers now ;-) -- 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) 5

[Pythonmac-SIG] Building MySqldb for Universal Python

2009-01-08 Thread Christopher Barker
ems to work, but still needs testing. I've now got a binary egg file -- anyone want to test it? It's about 3MB, which I think is too big to post here, but I'll send it to anyone that asks. Also, we really need a place to post it, if it works! -Chris -- Christopher Bar

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
_r.16.0.0.dylib (for architecture ppc): Mach-O dynamically linked shared library ppc and where did you get this? is that from the tarball on the MySQL site? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
ients, so it may have gotten built non-universal and no one has noticed. What do the other libs in there look like? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
Christopher Barker wrote: here's mine: $ /usr/local/mysql/bin/mysql_config --cflags -I/usr/local/mysql/include -g -Os -arch ppc -fno-common -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL Darn -- there

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
e in something like: build/lib.macosx-10.3-ppc-2.5 and I think will be called -mysql.so but I don't actually have it building here. I suppose I should try -- now that I've gone this far! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NO

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
consulting gig, I'd be happy to pay. I'm not in a position to do that now -- but you can buy me a beer if we ever cross paths! -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Christopher Barker
lly surprised that no one seems to have done this already, and posted a binary egg or something! MySQLdb is not a minor package! -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-63

Re: [Pythonmac-SIG] py2app: Bombing on unknown load command 27

2009-01-05 Thread Christopher Barker
I'm running macholib 1.2: >>> import macholib >>> macholib.__version__ '1.2' so it looks like you haven't succeeded in fully upgrading py2app and all its dependencies. The mackolib upgrade may help your unknown load command error. -Chris -- Christopher Barker,

Re: [Pythonmac-SIG] py2app: Bombing on unknown load command 27

2009-01-05 Thread Christopher Barker
e when I'm done? I would think so, but I don't know why they are there at all. -CHB -- 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

Re: [Pythonmac-SIG] py2app: Bombing on unknown load command 27

2009-01-05 Thread Christopher Barker
ay to do this automatically, but you can delete stuff from site-packages and ALSO from easy_install.pth Take a look at how PATH is being set also: echo $PATH and look in your .bash_profile or wherever your shell PATH is being added to, so that's it's set up right for you. -Ch

Re: [Pythonmac-SIG] How to install latest 2.5 in OS X 10.4?

2008-12-31 Thread Christopher Barker
edit the python.org site? 1) It would be nice for the "quick links" in the left to point to a OS-X download too. 2) This page: http://www.python.org/download/mac/ needs updating. Joe, was that where you got your out-of-date info? -Chris -- Christopher Barker, Ph.D. Oceanographe

Re: [Pythonmac-SIG] python help() problems

2008-12-19 Thread Christopher Barker
hon2.4 help() no idea here. -CHB -- 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 __

Re: [Pythonmac-SIG] Status of Python 3.0 for Mac?

2008-12-15 Thread Christopher Barker
k) Current dir from /Library/Frameworks/Python.framework/Versions True, but "Current" is just a symlink to a particular version - it's easy to put it back -- that's what I've done with 2.6 -- it's installed, but not set as current. -Chris -- Christopher Barker

Re: [Pythonmac-SIG] Can't convert simple Python script to bundle with py2app

2008-12-01 Thread Christopher Barker
t python it is running in? >raise ValueError('%r does not exist' % (pathname,)) >ValueError: '/Users/skip/local/lib/libpython2.7.dylib' does not > exist You're building a 2.7? what is that? I thought Python was going from 2.6 to 3.0. -Chris -- Chr

Re: [Pythonmac-SIG] py2app and PyQt4

2008-11-21 Thread Christopher Barker
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 [EMAIL PROTECTED] ___ Pyth

Re: [Pythonmac-SIG] py2app and PyQt4

2008-11-21 Thread Christopher Barker
/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/recipes/sip.py boy that's a long path! It apparently needs some updating, but seeing what used to work may give you a clue. Also, make sure you're using the latest py2app also. easy_install py2app==dev -Chris -- Christopher Ba

Re: [Pythonmac-SIG] app does not run when launched via main.py import was:py2app- python code packed in clear ascii

2008-11-20 Thread Christopher Barker
e problems. What you need to do is wrap up these calls in a method, say self.UpdateProgress(), and call that method with: wx.CallAfter(self.UpdateProgress) that should do it. There are other ways that you can read about if this isn't going to work for you. -Chris -- Christopher Barker, P

Re: [Pythonmac-SIG] App distribution with eggs

2008-11-19 Thread Christopher Barker
u run into some of those issues, send another note here, I've found work arounds for my stuff. -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 98

Re: [Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Christopher Barker
fix this with the latest machholib. try: easy_install "macholib==dev" -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-

Re: [Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Christopher Barker
Python ReleaseStatus alfa SourceVersion 2.4a0 I don't know where it came from, what it is used for, or why it is listing the version as "2.5alpha0", but you could try making a copy, changing "2.5" to "2.6", and putting it in your 2.6

Re: [Pythonmac-SIG] Building an app with dependencies

2008-11-10 Thread Christopher Barker
, If you build on 10.4, it should run fine on 10.5 (I get my cats confused). Make sure you use the python.org Framework build of python. Once you've tried a new py2app and simpler setup.py, then ask here for more help, if you still need it. -Chris -- Christopher Barker, Ph.D. Oceanogra

Re: [Pythonmac-SIG] py2app: Packing my modules in site-packages.py

2008-11-07 Thread Christopher Barker
nd in your code -- you can check for the "sys.frozen" attribute to know if the code is running inside an app bundle or not. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (20

Re: [Pythonmac-SIG] Py2app build problem - ImportError No Module named 'AppKit'

2008-11-06 Thread Christopher Barker
thing else I can check? You might want to print sys.path, just to make sure you know what it's doing. -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 Seat

Re: [Pythonmac-SIG] Py2app build problem - ImportError No Module named 'AppKit'

2008-11-06 Thread Christopher Barker
you looked in the bundle to see if the AppKit Framework is there? -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 recep

Re: [Pythonmac-SIG] newbie questions: import site failed and proper location of site-packages

2008-11-05 Thread Christopher Barker
der active development, then use setuptools, and: $ python setup.py --develop that will put links to your stuff in site-packages, pointing to your code, so when you change things, the changes will show up everywhere. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOA

Re: [Pythonmac-SIG] py2app doesn't work with virtualenv on Leopard

2008-11-03 Thread Christopher Barker
olved form either side. -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 [E

Re: [Pythonmac-SIG] py2app error 10810...

2008-11-03 Thread Christopher Barker
er 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 Seattl

Re: [Pythonmac-SIG] py2app doesn't work with virtualenv on Leopard

2008-10-31 Thread Christopher Barker
ns of all packages with all my apps, which requires them all being maintained when I upgrade a package. -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 Seatt

Re: [Pythonmac-SIG] Making thin app with py2app

2008-10-31 Thread Christopher Barker
PPC stuff, and I have no idea how one would do 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 [E

Re: [Pythonmac-SIG] py2app doesn't work with virtualenv on Leopard

2008-10-31 Thread Christopher Barker
nv, but clearly, py2app should figure out where to look in a different place. Sorry I can't be more helpful. -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 Seatt

Re: [Pythonmac-SIG] py2app error 10810...

2008-10-30 Thread Christopher Barker
e you using? Which version of Python? What packages are you using? you might want to post your setup.py -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,

Re: [Pythonmac-SIG] py2app and dependencies

2008-10-27 Thread Christopher Barker
r should I do some post-build surgery on the resultant .app? you may have to, but it should be a last resort. if your code (or code your using) makes use of pkg_resources, you may need to post-flight install the EGG_INFO stuff into your app. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Pythonmac-SIG] python 2.6 on mac seems to break compatibility

2008-10-24 Thread Christopher Barker
works/Python.framework/Versions/2.5 so I think that setup.py does work I have installed ipython and appscript and my small use of it seems to work Right, this is the all-macport option, which seems to generally work better. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Res

Re: [Pythonmac-SIG] python 2.6 on mac seems to break compatibility

2008-10-24 Thread Christopher Barker
back. I haven't got it tested enough to submit a patch to PIL, but I've enclosed what I did with this message. -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

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-22 Thread Christopher Barker
Christopher Barker wrote: Joe Strout wrote: FYI, I've been most impressed so far with Editra. I'll need to take a look again and see why I rejected it in favor of Peppy -- I honestly don't remember. OK, I've taken a look again: First, it really is nicely put to

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-22 Thread Christopher Barker
rote: I guess I should put in a plug for the Dabo Editor. I've got to ask: With the dozen or so wxPython-based editors out there -- why not use and improve one of them, rather than write your own? What does Dabo Editor's architecture provide that none of the others do? -Chris

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-20 Thread Christopher Barker
anybody can convince Wingware to sponsor a wx port I do wonder why they chose GTK in the first place, but what can you do? Joe Strout wrote: On Oct 20, 2008, at 4:09 PM, Christopher Barker wrote: I'm using Peppy Interesting -- that one's not on the wiki (perhaps you would add it?).

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-20 Thread Christopher Barker
t of folks like TextMate. You may find more ideas here: http://wiki.python.org/moin/PythonEditors -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, W

Re: [Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

2008-10-19 Thread Christopher Barker
n.framework/Versions/current/bin/python and the installer changed the "current" link. I actually changed that link back to 2.5, as there are too many modules that don't yet work with 2.6, so I consider it experimental. I'm at home an Mac-less right now, so I may have a

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-17 Thread Christopher Barker
hould look like. -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 receptio

[Pythonmac-SIG] Adding sub-packages in py2app

2008-10-17 Thread Christopher Barker
ed properly, but sometimes that stuff is getting import with __import__ or, when unpacking a pickle, or..., so I do need to tell py2app to include it. -thanks, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 S

Re: [Pythonmac-SIG] Macpython installation

2008-10-16 Thread Christopher Barker
ber what they are -- googling should help), then I'd use the Python.org version -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206)

Re: [Pythonmac-SIG] Macpython installation

2008-10-16 Thread Christopher Barker
Joe Strout wrote: On Oct 16, 2008, at 2:34 PM, Christopher Barker wrote: However 2.5 is working out of the box for me on 10.4 anyway. For my own curiosity, how do you invoke it? I've heard about IDLE but haven't found any actual instructions for launching it yet. There is

Re: [Pythonmac-SIG] Macpython installation

2008-10-16 Thread Christopher Barker
;s not using X Fink is a while different story. -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 mai

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-16 Thread Christopher Barker
similar issue was) in the latest macholib -- did you update that too? This may be a problem that comes a goes, too -- make sure you delete "build" and "dist" and try again. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] Py2app/modulegraph crashes on pkg_resources

2008-10-16 Thread Christopher Barker
bit of hope. The author of bb-freeze is looking at OS_X, and may make a bb-freeze--py2app merger of sorts. -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

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-10 Thread Christopher Barker
Joe Strout wrote: However, where are the Mac modules? Most of the references I find on the net point to dead links, or are woefully out of date. Did you find this? http://docs.python.org/library/mac.html#mac-specific-services -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-10 Thread Christopher Barker
k, -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 [EMAIL PROTECTED] ___

[Pythonmac-SIG] setuptools namespace packages and py2app

2008-10-09 Thread Christopher Barker
. -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 [EMAIL PROTECTED] ___

Re: [Pythonmac-SIG] Hello World Cross Platform Problems

2008-10-06 Thread Christopher Barker
many block it, and yu may not have notices, as many SVN sites use http instead of teh svn: protocol. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (

Re: [Pythonmac-SIG] Hello World Cross Platform Problems

2008-10-06 Thread Christopher Barker
error, update macholib as above. Let us know how it goes -- we should get that macholib update officially released if it hasn't been already. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand P

Re: [Pythonmac-SIG] Hello World Cross Platform Problems

2008-10-03 Thread Christopher Barker
you want Aqua widgets. After having issues (above) with roll-your-own I decided to try fink (fink install py2app-py24), I'd stay away from fink anyway -- does it support Universal builds at all? Also, on eof the key points of wx is that if produces native GUIs -- why'd you want to giv

Re: [Pythonmac-SIG] py2app: how to force packages into application bundle?

2008-09-16 Thread Christopher Barker
hat is for! I don't think that's you problem though... One thing to do is test your py2app setup with a simple program that doesn't use mechanize, to see if that package is the problem. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526

Re: [Pythonmac-SIG] Please help! py2app broken

2008-09-11 Thread Christopher Barker
l, -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 [E

Re: [Pythonmac-SIG] Please help! py2app broken

2008-09-11 Thread Christopher Barker
u can start again with a new checkout, or, I think there are tools for reversing the conversion, but it all requires work. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6

Re: [Pythonmac-SIG] Please help! py2app broken

2008-09-10 Thread Christopher Barker
been fixed in the development version, but the fix has not made it into a release. You might try upgrading setuptools to the dev version. See this blog post: http://mrtopf.de/blog/plone/using-subversion-15-with-setuptools-in-python-technical/ it's worth a try! -Chris -- Christopher B

Re: [Pythonmac-SIG] py2app import framework

2008-08-28 Thread Christopher Barker
ink the source distro installed into "System". Are you sure you're not using Apple-supplied one? Are you on 10.5? anyway, I'm sorry I can't help with a self-built one -- i have no idea what extra issues there may be. -Chris -- Christopher Barker, Ph.D.

Re: [Pythonmac-SIG] py2app import framework

2008-08-28 Thread Christopher Barker
n make all the difference. not just the version number, but what build, how/where was it installed? I think the build from python,org is your best bet if you want to distribute with py2app. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] py2app import framework

2008-08-27 Thread Christopher Barker
y to inorder to build these and execute them on other machines that maynot have tk or have an earlier version of python installed? what python are you using? if you are using the Framework build from python.org, then it should all "just work". If you are using the Apple supplied pyth

Re: [Pythonmac-SIG] python 2.6 trunk

2008-08-13 Thread Christopher Barker
Kees, Christopher E wrote: Anybody had any luck with a 4-way universal numpy build? I'd ask on the numpy list, but I don't think I've seen anyone talk about it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(20

<    1   2   3   4   5   6   7   >