-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all,
My apologies in advance if this has already been covered, but I am very confused by the interaction between py2app and setuptools. I have installed Universal-MacPython-2.4.3 from <http://python.org/ download/releases/2.4.3/> (I have an Intel-based Mac) and built py2app 0.2.0 from source: > $ export PATH="/usr/local/bin:${PATH}" > $ svco http://svn.red-bean.com/bob/py2app/releases/py2app-0.2.0 > ... > $ cd py2app-0.2.0 > $ python setup.py bdist_mpkg --open > ... Now when I download ClientForm from <http://wwwsearch.sourceforge.net/ ClientForm/> and try to build it using py2app, I get the following: > $ tar xpvf ClientForm-0.2.2.tar.gz > $ cd ClientForm-0.2.2 > $ bdist_mpkg > > ---------------------------------------------------------------------- > ----- > This script requires setuptools version 0.6a9 to run (even to display > help). I will attempt to download it for you (from > http://cheeseshop.python.org/packages/2.4/s/setuptools/), but > you may need to enable firewall access for this script first. > I will start the download in 15 seconds. > ---------------------------------------------------------------------- > ----- > Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/ > setuptools-0.6a9-py2.4.egg > Traceback (most recent call last): > File "/usr/local/bin/bdist_mpkg", line 3, in ? > main() > File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ > python2.4/site-packages/py2app/bdist_mpkg/scripts/ > script_bdist_mpkg.py", line 24, in main > execfile(sys.argv[0], g, g) > File "setup.py", line 88, in ? > ez_setup.use_setuptools() > File "/Users/matt/Desktop/macpython/orig/ClientForm-0.2.2/ > ez_setup/__init__.py", line 84, in use_setuptools > import setuptools; setuptools.bootstrap_install_from = egg > File "/Users/matt/Desktop/macpython/orig/ClientForm-0.2.2/ > setuptools-0.6a9-py2.4.egg/setuptools/__init__.py", line 3, in ? > File "/Users/matt/Desktop/macpython/orig/ClientForm-0.2.2/ > setuptools-0.6a9-py2.4.egg/setuptools/dist.py", line 29, in ? > File "/Users/matt/Desktop/macpython/orig/ClientForm-0.2.2/ > setuptools-0.6a9-py2.4.egg/setuptools/dist.py", line 24, in > _get_unpatched > AssertionError: distutils has already been patched by <class > py2app.install.Distribution at 0x589390> I'm now at a total loss. Is there any advice anyone can give me on now to get this to work (besides "don't use (py2app|ClientForm)")? Any help is greatly appreciated. --Matt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEPK0snLpDzL5I7l8RAqy1AJ0bp2Yt7Nj3O1dSZm0+upcszZEH6ACeMvG8 XAWwdG9j3iv5MgQdKFAEIT4= =Gj4O -----END PGP SIGNATURE----- _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
