Generated sys.path masks buildout's eggs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Given that PasteScript and SQLAlchemy 0.3.6 have been installed into the system-wide python environment, then for this buildout.cfg:
[buildout]
parts = custom_
[custom_
recipe = zc.recipe.egg
interpreter = app_python
eggs =
nose
pyyaml==3.05
pastescript
pyPDF==1.10
zc.buildout generates a sys.path like this:
sys.path[0:0] = [
'/home/
'/home/
'/usr/
'/usr/
'/home/
'/home/
]
When the custom python interpreter is used, "import sqlalchemy" will find version 0.3.6 instead of the expected 0.4.4.