Re: [Pyobjc-dev] Patch for py2app - copying another Python framework version than used to run py2ap
Brought to you by:
ronaldoussoren
From: Ronald O. <ron...@ma...> - 2009-10-06 06:19:08
|
On 4 Oct, 2009, at 22:52, Dirk Stoop wrote: > Not sure if this is a good spot for py2app patches, if not please > let me know. > > This fixes an issue with copying a different version of Python over > to an app/plugin bundle than the one used to run py2app with. > > Before this patch you could run into situations where if you run > py2app under Python 2.6, and it tried to copy the Python 2.5 > framework over to the app bundle, it would be at some point try to > copy a path like: > > '/Library/Frameworks/Python.framework/Versions/2.5/include/python2.6/ > pyconfig.h' > > Because it used sys.version instead of the version number in the > framework info passed in, to figure out what the last folder in the > path should be, this simple patch fixes it. Thanks. I've pushed the patch to the repository. Ronald > > <multi-py-versions-patch.txt> > > > - > Dirk > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf_______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |