ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
353 stars 35 forks source link

0.5.2 doesn't works on Mac OS X 10.6.6 #14

Closed ronaldoussoren closed 13 years ago

ronaldoussoren commented 13 years ago

Original report by Anonymous.


I'm use MacPorts install following packages

py26-sip 4.12.1

py26-pyqt4 4.8.3

py2app 0.5.2

I do what as http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html said

get first exception is

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-x86_64 not found

I copy one from /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-universal to /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/apptemplate/prebuilt/main-x86_64

then build package successfully.

However it doesn't works !

It show alert "xxx error" with "visit the MacPython website" and "terminate" button after open foo.app.

Have you test it ? I checkout your latest source and build example, they get the same result, they don't work.

ronaldoussoren commented 13 years ago

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


py2app works fine with the checkout on my machine, including tests.

That said: the sdist is indeed not complete, and that's probably been so for every release since the switch to mercurial. I'm adding a MANIFEST.in file to ensure that 'python setup.py sdist' includes all required file, rather than relying on setuptools for getting this right.

ronaldoussoren commented 13 years ago

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


This is fixed in the next release, which will be released after I get back from pycon (currently still sprinting).

ronaldoussoren commented 13 years ago

Original comment by Anonymous.


This is not an 'sdist' issue, as downloading the 0.5.2 tag source from bitbucket produces the same non-working installation.

Current tip now shows version 0.6, rather than 0.5.3. New tip now requires three dependencies which also don't exist in PyPI (altgraph 0.8 modulegraph 0.9, macholib 1.4).