Comment 3 for bug 449262

Revision history for this message
nutjob (kelly-seankelly) wrote :

This is biting me, too.

1. The buildout is bootstrapped with the system python (macosx-10.3-fat).

2. A part in my buildout uses hexagonit.recipe.cmmi to build python 2.6 (macosx-10.3-i386).

3. Another part in my buildout uses zc.recipe.egg:custom to build PIL, with python set to the built python, generating PIL-1.1.6-py2.6-macosx-10.3-i386.egg.

The build succeeds but finds no distributions because the Environment uses the bootstrap python's platform (-fat) instead of the specified python's platform (-i386).

However, rather than adding a "platform" option, easy_install.py could just invoke self._executable with the import of setuputils.pkg_resources.get_supported_platform, invoke it, and snarf its output.