Re: [Pythonmac-SIG] py2app ImportError

2007-02-06 Thread Erwin Marsi
On Feb 6, 2007, at 20:39, Ronald Oussoren wrote: > > On 6 Feb, 2007, at 10:35, Erwin Marsi wrote: > >> >> On Feb 6, 2007, at 10:23, Ronald Oussoren wrote: >> >>> >>> How does ielemtree import ElementTree? Does it use an import >>> statement or does it call __import__ directly? py2app can only

Re: [Pythonmac-SIG] Tkinter Question...

2007-02-06 Thread Jerry LeVan
On Feb 6, 2007, at 6:32 PM, Kevin Walzer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jerry LeVan wrote: >> Hi, >> >> I have recently upgraded my Mac to ActiveTCL from Tk Aqua. It appears >> that tcl/tk 8.4.14 works much more smoothly than apple's 8.4.0. >> >> I am trying to port

Re: [Pythonmac-SIG] Tkinter Question...

2007-02-06 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry LeVan wrote: > Hi, > > I have recently upgraded my Mac to ActiveTCL from Tk Aqua. It appears > that tcl/tk 8.4.14 works much more smoothly than apple's 8.4.0. > > I am trying to port some of my tcl stuff to python ( MacPython 2.4.3). > I am usi

[Pythonmac-SIG] Tkinter Question...

2007-02-06 Thread Jerry LeVan
Hi, I have recently upgraded my Mac to ActiveTCL from Tk Aqua. It appears that tcl/tk 8.4.14 works much more smoothly than apple's 8.4.0. I am trying to port some of my tcl stuff to python ( MacPython 2.4.3). I am using tkinter for the gui. It appears that tkinter.so is linked to the tk in /Syst

Re: [Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread stephan nies
SOLVED ok i put libboost_python-1_33_1.dylib in a "standard location" like pointed out here http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/Articles/UsingDynamicLibraries.html in my case: ~/lib i am still not sure what was wrong about using DYLD_LIBRARY_PATH h

Re: [Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread stephan nies
Thank you for your reply Ronald, I might try the distutils, too. Thanks, Stephan On 2/6/07, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > > On 6 Feb, 2007, at 17:55, stephan nies wrote: > > > Hello, > > > > has anyone used boost.python on OSX > > and can help me or point me > > to "hello world"-

Re: [Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread stephan nies
Thank you, now I got one step further. The only issue that remains is when i import myextension the libboost_python-1_33_1.dylib on which it depends is not found. Also i set up the DYLD_LIBRARY_PATH accordingly or is this the wrong place? sorry, if i might miss some OS X special again. ImportErr

Re: [Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread Ronald Oussoren
On 6 Feb, 2007, at 17:55, stephan nies wrote: > Hello, > > has anyone used boost.python on OSX > and can help me or point me > to "hello world"-style example of a > c++ - extension in boost.python > that works on OSX. > > I have used boost.python on linux and > am porting the app from linux to os

Re: [Pythonmac-SIG] py2app ImportError

2007-02-06 Thread Ronald Oussoren
On 6 Feb, 2007, at 10:35, Erwin Marsi wrote: > > On Feb 6, 2007, at 10:23, Ronald Oussoren wrote: > >> >> How does ielemtree import ElementTree? Does it use an import >> statement or does it call __import__ directly? py2app can only >> detect imports that are done using the import statement.

Re: [Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread Torsten Sadowski
Hello, as far as I know, Python extensions are OSX bundles. Try -bundle instead of -dynamiclib. Just a guess. Cheers, Torsten Am Dienstag, 6. Februar 2007 17:55 schrieb stephan nies: > Hello, > > has anyone used boost.python on OSX > and can help me or point me > to "hello world"-style example

[Pythonmac-SIG] problems with boost.python on OS X

2007-02-06 Thread stephan nies
Hello, has anyone used boost.python on OSX and can help me or point me to "hello world"-style example of a c++ - extension in boost.python that works on OSX. I have used boost.python on linux and am porting the app from linux to osx. Since the app uses a boost.python - extension module its essent

Re: [Pythonmac-SIG] py2app ImportError

2007-02-06 Thread Erwin Marsi
On Feb 6, 2007, at 10:23, Ronald Oussoren wrote: > > How does ielemtree import ElementTree? Does it use an import > statement or does it call __import__ directly? py2app can only > detect imports that are done using the import statement. > > > Ronald It uses a normal import statement: from

Re: [Pythonmac-SIG] py2app ImportError

2007-02-06 Thread Ronald Oussoren
On 6 Feb, 2007, at 9:37, Erwin Marsi wrote: > My py2app-build application crashes with an ImportError. I'm using > the standard python 2.5 framework from http://www.python.org/ > download/ and py2app 0.3.5 build from sources. > > I followed the py2app tutorial and tried in alias mode first. Here'

[Pythonmac-SIG] py2app ImportError

2007-02-06 Thread Erwin Marsi
My py2app-build application crashes with an ImportError. I'm using the standard python 2.5 framework from http://www.python.org/ download/ and py2app 0.3.5 build from sources. I followed the py2app tutorial and tried in alias mode first. Here's my setup.py: -- """ This is a setup.py script

Re: [Pythonmac-SIG] py2app error with /usr/bin/strip

2007-02-06 Thread altern
Ronald Oussoren wrote: > > On 5 Feb, 2007, at 22:04, altern wrote: > >> Ronald Oussoren wrote: >>> On 5 Feb, 2007, at 18:30, Chris Van Bael wrote: Hi, I'm getting essentially the same error for some time now. Could anybody please explain what is going wrong here exactly, becau