buildout does not honour platform for python executable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
In my buildout I build a local python distribution which will be used by almost all eggs installed by buildout.
For this buildout runs with the system wide python installation and sets the python/executable option to the locally built python if necessary.
The problem is, that the platform configuration for the local python differs from the system python. This is probably an OSX only issue where you can build universal or for instance i386 only binaries.
In my case I tried to build lxml with zc.recipe.egg, which builds fine as lxml-2.
The attached patch determines the platform settings, for a specific python executable. In my case this patch works well, (Sorry no tests written) but I am sure it could be done in a more elegant/performant way.
regards
rediffed faulty patch