problem upgrading to 0.4.3

View: New views
2 Messages — Rating Filter:   Alert me  

problem upgrading to 0.4.3

by Norman Lorrain-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tried to upgrade, but can't get the correct version...

mac:~ norman$ sudo easy_install -U py2app
Password:
Searching for py2app
Reading http://pypi.python.org/simple/py2app/
Reading http://undefined.org/python/#py2app
Best match: py2app 0.4.3
Processing py2app-0.4.3-py2.6.egg
py2app 0.4.3 is already the active version in easy-install.pth
Installing py2applet script to /usr/local/bin

Using /Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg
Processing dependencies for py2app
Finished processing dependencies for py2app
mac:~ norman$ python
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import py2app
>>> py2app.__version__
'0.4.2'
>>>


I'm running on Snow Leopard.  This version creates the app, but the the result is Contents/Frameworks only contains libwx_macud-2.8.0.dylib (no Python.framwork)

My previous py2app worked on my development machine, but clients were gettting "module object has no attribute tickcount" when running the app.  This prompted me to upgrade.



-Norman



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: problem upgrading to 0.4.3

by Ned Deily :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In article
<7eef4fcb0910121138h25933847r923fd8097b63118c@...>,
 Norman Lorrain <normanlorrain@...> wrote:

> Tried to upgrade, but can't get the correct version...
>
> mac:~ norman$ sudo easy_install -U py2app
> Password:
> Searching for py2app
> Reading http://pypi.python.org/simple/py2app/
> Reading http://undefined.org/python/#py2app
> Best match: py2app 0.4.3
> Processing py2app-0.4.3-py2.6.egg
> py2app 0.4.3 is already the active version in easy-install.pth
> Installing py2applet script to /usr/local/bin
>
> Using /Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg
> Processing dependencies for py2app
> Finished processing dependencies for py2app
> mac:~ norman$ python
> Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51)
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import py2app
> >>> py2app.__version__
> '0.4.2'
> >>>
>
>
> I'm running on Snow Leopard.  This version creates the app, but the the
> result is Contents/Frameworks only contains libwx_macud-2.8.0.dylib (no
> Python.framwork)
>
> My previous py2app worked on my development machine, but clients were
> gettting "module object has no attribute tickcount" when running the app.
> This prompted me to upgrade.

It looks like the version number didn't get bumped.  Check the __file__
attribute of the module:

$ /usr/bin/python2.6
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import py2app
>>> py2app.__file__
'/Library/Python/2.6/site-packages/py2app-0.4.3-py2.6.egg/py2app/__init__
.pyc'
>>> py2app.__version__
'0.4.2'

If it was loaded from 0.4.3 egg, you should be OK.

--
 Ned Deily,
 nad@...

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@...
http://mail.python.org/mailman/listinfo/pythonmac-sig