Re: [Pythonmac-SIG] ANN: py2app 0.5
On 2 Aug, 2010, at 23:55, Russell E. Owen wrote: > > > P.S. I'm curious about the virtualenv improvements. I use virtualenv to > develop my code, but when I've got the appropriate environment set up if > I build the application using py2app I always get the appended traceback > (even witih py2app 0.5.2). > > To work around it I have my setup.py script add a few necessary bits to > sys.path and I build from a fresh login with no virtual environment set > up. > > No big deal, but if there is a way to make the build work even when the > required packages are setup using virutalenv, I'd like to know about it. That's strange, I have build a couple of applications using virtualenvs. I don't use pip though and have patches to virtualenv that might change its behavior enough the explain the difference. Another set of patches to push upstream... Ronald smime.p7s Description: S/MIME cryptographic signature ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
In article <2e51fd64-bd00-4bd6-bca8-89e48a672...@mac.com>, Ronald Oussoren wrote: > Hi, > > I've just uploaded py2app 0.5 and new versions of altgraph, modulegraph and > macholib. I hope this solves most issues with py2app. "easy_install-X.Y -U > py2app" should install the software for you (where X.Y is your favorite > version of Python) > > There is one new feature in this release: experimental support for python 3. > This basicly means that I managed to build a single application as a > standalone application bundle, without much testing. Alias builds and > plugin bundles almost certainly don't work (the first because alias builds > use the Carbon module which isn't available in python 3, the latter because I > had to rewrite the C code in the application bundles and probably have to do > the same for plugin bundles). > > Ronald- It works for me. I updated to py2app 0.5.2 using: pip install --upgrade py2app I then removed an extra blank __init__.py file I'd put in my zope directly to work around an issue with my earlier py2app (zope.interface was installed using pip, which uses a complex .pth file). Finally I build a complex application with py2app and it worked perfectly (I double checked by moving my Python Tcl and Tk frameworks out of the way). Thank you very much for the update! -- Russell P.S. I'm curious about the virtualenv improvements. I use virtualenv to develop my code, but when I've got the appropriate environment set up if I build the application using py2app I always get the appended traceback (even witih py2app 0.5.2). To work around it I have my setup.py script add a few necessary bits to sys.path and I build from a fresh login with no virtual environment set up. No big deal, but if there is a way to make the build work even when the required packages are setup using virutalenv, I'd like to know about it. Building Mac version *** using recipe: virtualenv *** *** using recipe: PIL *** Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app/build_app.py", line 589, in _run self.run_normal() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app/build_app.py", line 645, in run_normal self.process_recipes(mf, filters, flatpackages, loader_files) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app/build_app.py", line 559, in process_recipes rval = check(self, mf) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app/recipes/matplotlib.py", line 5, in check mf.import_hook('pytz.zoneinfo', m, ['UTC']) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/modulegraph/modulegraph.py", line 401, in import_hook m = self.load_tail(q, tail) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/modulegraph/modulegraph.py", line 464, in load_tail raise ImportError, "No module named " + mname ImportError: No module named pytz.zoneinfo > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/modulegraph/modulegraph.py(464)load_tail() -> raise ImportError, "No module named " + mname ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
py2app 0.5.2 fixes everything for me -- 1,002 thanks, Ronald! Charles Hartman On Thu, Jul 29, 2010 at 1:56 AM, Ronald Oussoren wrote: > > On 28 Jul, 2010, at 9:00, Ronald Oussoren wrote: > > > > > > > On 28 Jul, 2010,at 12:08 AM, Charles Hartman wrote: > > > >> Ronald, like everyone else, I'm very grateful to you for taking up > py2app, which is crucial to making/keeping Python popular on the Mac. > >> > >> Using Python 2.6.5, I did the easy_install you just specified. Trying > it for the first time, I'm getting an error because > >> > >> > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.5-py2.6.egg/py2app/apptemplate/prebuilt/main-fat > >> > >> doesn't exist. The ./prebuilt/ directory is empty. > > > >> > >> I'm sure I'm doing something dumb and probably simple. > > > > It seems that the prebuilt files aren't included in the egg files. I > don't have time to look into this today, but will do so as soon as I can. > > py2app 0.5.1 should fix that and is up on pypi. > > Ronald > > ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
On 28 Jul, 2010, at 9:00, Ronald Oussoren wrote: > > > On 28 Jul, 2010,at 12:08 AM, Charles Hartman wrote: > >> Ronald, like everyone else, I'm very grateful to you for taking up py2app, >> which is crucial to making/keeping Python popular on the Mac. >> >> Using Python 2.6.5, I did the easy_install you just specified. Trying it >> for the first time, I'm getting an error because >> >> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.5-py2.6.egg/py2app/apptemplate/prebuilt/main-fat >> >> doesn't exist. The ./prebuilt/ directory is empty. > >> >> I'm sure I'm doing something dumb and probably simple. > > It seems that the prebuilt files aren't included in the egg files. I don't > have time to look into this today, but will do so as soon as I can. py2app 0.5.1 should fix that and is up on pypi. Ronald smime.p7s Description: S/MIME cryptographic signature ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
Hey, I'd just like to say thanks - it's incredibly great to have some movement and leadership here (plus this'll make the installation process of py2app way less annoying - I got used to installing macholib, altgraph, modulegraph, and py2app separately in their dependency order) Tom On Tue, Jul 27, 2010 at 3:13 PM, Ronald Oussoren wrote: > Hi, > > I've just uploaded py2app 0.5 and new versions of altgraph, modulegraph and > macholib. I hope this solves most issues with py2app. "easy_install-X.Y -U > py2app" should install the software for you (where X.Y is your favorite > version of Python) > > There is one new feature in this release: experimental support for python > 3. This basicly means that I managed to build a single application as a > standalone application bundle, without much testing. Alias builds and > plugin bundles almost certainly don't work (the first because alias builds > use the Carbon module which isn't available in python 3, the latter because > I had to rewrite the C code in the application bundles and probably have to > do the same for plugin bundles). > > Ronald > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG > > ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
maybe that is the reason why i needed to call "sudo python build py2app" On Wed, Jul 28, 2010 at 9:00 AM, Ronald Oussoren wrote: > > > On 28 Jul, 2010,at 12:08 AM, Charles Hartman wrote: > > Ronald, like everyone else, I'm very grateful to you for taking up py2app, > which is crucial to making/keeping Python popular on the Mac. > Using Python 2.6.5, I did the easy_install you just specified. Trying it > for the first time, I'm getting an error because > /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.5-py2.6.egg/py2app/apptemplate/prebuilt/main-fat > doesn't exist. The ./prebuilt/ directory is empty. > > I'm sure I'm doing something dumb and probably simple. > > > It seems that the prebuilt files aren't included in the egg files. I don't > have time to look into this today, but will do so as soon as I can. > Ronald > > Charles Hartman > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG > > ___ > Pythonmac-SIG maillist - pythonmac-...@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG > > ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
On 28 Jul, 2010,at 12:08 AM, Charles Hartman wrote:Ronald, like everyone else, I'm very grateful to you for taking up py2app, which is crucial to making/keeping Python popular on the Mac.Using Python 2.6.5, I did the easy_install you just specified. Trying it for the first time, I'm getting an error because /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.5-py2.6.egg/py2app/apptemplate/prebuilt/main-fatdoesn't exist. The ./prebuilt/ directory is empty. I'm sure I'm doing something dumb and probably simple. It seems that the prebuilt files aren't included in the egg files. I don't have time to look into this today, but will do so as soon as I can.RonaldCharles Hartman ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] ANN: py2app 0.5
Ronald, like everyone else, I'm very grateful to you for taking up py2app, which is crucial to making/keeping Python popular on the Mac. Using Python 2.6.5, I did the easy_install you just specified. Trying it for the first time, I'm getting an error because /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app-0.5-py2.6.egg/py2app/apptemplate/prebuilt/main-fat doesn't exist. The ./prebuilt/ directory is empty. I'm sure I'm doing something dumb and probably simple. Charles Hartman ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG