Re: [Pythonmac-SIG] py2app - ImportError using pycrypto

2012-04-12 Thread Ronald Oussoren
On 12 Apr, 2012, at 8:59, Terry Simons wrote: > I found a way to solve my issue. > > I was poking around with pygame, which has the same shared object load > problems. > > I stumbled across this: > http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/ > > And something in t

Re: [Pythonmac-SIG] py2app - ImportError using pycrypto

2012-04-12 Thread Terry Simons
I found a way to solve my issue. I was poking around with pygame, which has the same shared object load problems. I stumbled across this: http://www.rkblog.rk.edu.pl/w/p/building-mac-os-x-applications-py2app/ And something in there fixed my problem... specifically this: You have to ed

Re: [Pythonmac-SIG] py2app - ImportError using pycrypto

2012-04-11 Thread Terry Simons
I'm using py2app 0.6.4 with the system python 2.7.1 on Mac OS X 10.7.3. - Terry On Apr 11, 2012, at 2:17 AM, Ronald Oussoren wrote: > Which version of py2app do you use? Do you use the system python > (/usr/bin/python) or a custom install (python.org installer, macports, > homebrew, self built

Re: [Pythonmac-SIG] py2app - ImportError using pycrypto

2012-04-11 Thread Ronald Oussoren
Which version of py2app do you use? Do you use the system python (/usr/bin/python) or a custom install (python.org installer, macports, homebrew, self built, ...)? If you use the system python: which OSX release do you use? Ronald On 11 Apr, 2012, at 10:51, Terry Simons wrote: > Hi, > > I'm

[Pythonmac-SIG] py2app - ImportError using pycrypto

2012-04-11 Thread Terry Simons
Hi, I'm using py2applet to build a tool that uses paramiko/pycrypto. Everything seems to build fine, but I get an error when launching my app that pycrypto's Crypto/Util/_counter.so object couldn't be found. It looks like the app is trying to load it from the OS installed Python, which I am a

Re: [Pythonmac-SIG] py2app: ImportError

2011-10-06 Thread Ronald Oussoren
On 6 Oct, 2011, at 16:51, Sean Robinson wrote: > On 10/06/2011 06:11 AM, Ronald Oussoren wrote: >> >> On 4 Oct, 2011, at 16:32, Sean Robinson wrote: >> >>> On 10/04/2011 06:54 AM, Ronald Oussoren wrote: On 30 Sep, 2011, at 21:36, Sean Robinson wrote: > I have not yet been

Re: [Pythonmac-SIG] py2app: ImportError

2011-10-06 Thread Sean Robinson
On 10/06/2011 06:11 AM, Ronald Oussoren wrote: On 4 Oct, 2011, at 16:32, Sean Robinson wrote: On 10/04/2011 06:54 AM, Ronald Oussoren wrote: On 30 Sep, 2011, at 21:36, Sean Robinson wrote: I have not yet been able to make a working stand-alone app bundle using py2app and I hope someone

Re: [Pythonmac-SIG] py2app: ImportError

2011-10-06 Thread Ronald Oussoren
On 4 Oct, 2011, at 16:32, Sean Robinson wrote: > On 10/04/2011 06:54 AM, Ronald Oussoren wrote: >> >> On 30 Sep, 2011, at 21:36, Sean Robinson wrote: >> >>> I have not yet been able to make a working stand-alone app bundle using >>> py2app and I hope someone can point out what I'm missing. I

Re: [Pythonmac-SIG] py2app: ImportError

2011-10-04 Thread Ronald Oussoren
On 30 Sep, 2011, at 21:36, Sean Robinson wrote: > I have not yet been able to make a working stand-alone app bundle using > py2app and I hope someone can point out what I'm missing. I am using py2app > cloned from bitbucket (changeset 169:9d95dbc52431), but py2app 0.6.3 did not > work, eithe

[Pythonmac-SIG] py2app: ImportError

2011-09-30 Thread Sean Robinson
I have not yet been able to make a working stand-alone app bundle using py2app and I hope someone can point out what I'm missing. I am using py2app cloned from bitbucket (changeset 169:9d95dbc52431), but py2app 0.6.3 did not work, either. This is being done on OSX 10.6.8 with the Apple-prov

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] 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] 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