Re: [Pythonmac-SIG] Building an extensible bundle with py2app

2012-11-15 Thread Emanuele Santos
ib/python2.7/setuptools/package_index.py", line 145, in urllib2.__version__, require('setuptools')[0].version File "pkg_resources.pyc", line 666, in require File "pkg_resources.pyc", line 565, in resolve pkg_resources.DistributionNotFound: setuptools }}} An

[Pythonmac-SIG] Building an extensible bundle with py2app

2012-10-17 Thread Emanuele Santos
Hi, all We build a bundle with py2app and we would like to make it extensible so users could install on demand other python packages into the python framework included in the bundle, for example by running easy_install. Is there a recommended way of doing that? I noticed that the site.py file inc

Re: [Pythonmac-SIG] using py2app with scipy (Russell E. Owen)

2011-08-12 Thread Emanuele Santos
Hi, Michael I have built an application that includes numpy, scipy and matplotlib. My script is very similar to yours and I tested your script files and the app is built fine on my machine, so I guess the problem could be with your installation of matplotlib. I am running python 2.7.2 from python

Re: [Pythonmac-SIG] Problems with py2app and qt

2009-12-15 Thread Emanuele Santos
Maybe your app is loading the wrong libs? Try running from the terminal and printing the libs that are being loaded: $ cd /path/to/your/bundle.app/Contents/MacOS $ DYLD_PRINT_LIBRARIES=1 ./your_app Check if all the Qt and PyQt libraries loaded are in your bundle. -- Emanuele. On Dec 15, 200

Re: [Pythonmac-SIG] MySQLdb on OS X 10.6

2009-11-11 Thread Emanuele Santos
Hi, Brian I don't think python2.5 shipped with Snow Leopard is 64 bit. If you want to build using pyhton 2.5 it will have to be 32bit. -- Emanuele. On Nov 11, 2009, at 5:28 PM, Brian Zambrano wrote: Hi all, Like many others before me, I'm banging my head against the wall trying to get MySQ

Re: [Pythonmac-SIG] Building packages under Snow Leopard and Python 2.6.x

2009-09-16 Thread Emanuele Santos
Try using gcc 4.0, Snow Leopard is using gcc-4.2 by default. export CC=/usr/bin/gcc-4.0 export CXX=/usr/bin/g++-4.0 -- Emanuele. On Sep 16, 2009, at 7:31 AM, Jerry LeVan wrote: Hi I have the community version of Python 2.6.2 installed on my MacBook Pro running 10.6.1. I am trying to build p

Re: [Pythonmac-SIG] macholib unknown load command: 2147483682

2009-09-09 Thread Emanuele Santos
Thanks, Ronald! It is working now. -- Emanuele. On Sep 9, 2009, at 12:22 PM, Ronald Oussoren wrote: On 9 Sep, 2009, at 6:29, Emanuele Santos wrote: I am already using the latest versions of both macholib and py2app. Could you try again? I've just checked in a patch for macholib

Re: [Pythonmac-SIG] macholib unknown load command: 2147483682

2009-09-08 Thread Emanuele Santos
I am already using the latest versions of both macholib and py2app. Thanks, -- Emanuele. On Sep 8, 2009, at 5:36 PM, Christopher Barker wrote: Emanuele Santos wrote: I am trying to create a bundle using py2app dev on snow leopard and python 2.6 and I am getting the following error with

[Pythonmac-SIG] macholib unknown load command: 2147483682

2009-09-08 Thread Emanuele Santos
Hi, I am trying to create a bundle using py2app dev on snow leopard and python 2.6 and I am getting the following error with macholib: ValueError: Unknown load command: 2147483682 Is there anything I can do to fix it? Part of the stack trace is shown below. Thanks, ... copying /usr/local/

Re: [Pythonmac-SIG] distutils.errors.DistutilsFileError: file '/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg/pkg_resources.pyc' does not exist

2008-03-27 Thread Emanuele Santos
The problem with jpeg in Qt is that it's included as a plugin. I don't know about the .dmg installation, as I built mine from source. I remember that I didn't know how to fix py2app to handle this, so I used this hack: After running, py2app, I copied the contents of the Qt plugins directory

Re: [Pythonmac-SIG] py2app and qt jpeg plugin

2007-09-19 Thread Emanuele Santos
oc.nrao.edu/~bwaters > > > > On Sep 19, 2007, at 12:15 PM, Ronald Oussoren wrote: > >> >> On 19 Sep, 2007, at 7:14, Emanuele Santos wrote: >> >>> Hi, >>> >>> I am having problems to show jpeg images on my bundled application >>>

[Pythonmac-SIG] py2app and qt jpeg plugin

2007-09-18 Thread Emanuele Santos
Hi, I am having problems to show jpeg images on my bundled application using pyqt4. I know that the problem is with the qt plugins. How does py2app handle them? Because if try to run from my source tree it works fine. Thanks, -- Emanuele. ___ Py

[Pythonmac-SIG] Python 2.5 PyOpenGL package

2006-11-29 Thread Emanuele Santos
Does anybody have a Python 2.5 PyOpenGL binary package available or at least knows if the latest source release compiles on a mac? Thanks, -- Emanuele. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/