zc.buildout fails to use code from dist-packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
It seems that zc.buildout (sometimes?) fails to use the code which is available - and that it finds - in dist-packages; I could verify this on python2.6, Ubuntu 10.10 - both 32 and 64 bit - through the following script:
# start
cd /tmp
mkdir -p MyProj/myproj
cd MyProj
cat <<EOM > buildout.cfg
[buildout]
parts = test
develop = myproj
[test]
recipe = zc.recipe.
eggs = myproj
EOM
cat <<EOM > myproj/setup.py
from setuptools import setup
setup(
)
EOM
wget http://
python bootstrap.py && bin/buildout -vvv
bin/test
#end
alan@afra:
Downloading http://
Extracting in /tmp/tmpUAAumj
Now working in /tmp/tmpUAAumj/
[...] cut [...]
Got zope.exceptions 3.6.1.
Installing test.
Generated script '/tmp/MyProj/
alan@afra:
Traceback (most recent call last):
File "bin/test", line 20, in <module>
import zope.testrunner
File "/tmp/MyProj/
line 21, in <module>
import zope.testrunner
File "/tmp/MyProj/
line 21, in <module>
import zope.interface
ImportError: No module named interface
Full log after verbose run is attached.
The same thing can't be reproduced on Gentoo, MacOSX.
In the bootstrap.log I see a warning that is caused by Bug #576434 that is reported to break buildout.
I have run the script and get no failures at all, either with setuptools or distribute, ~/.buildout/eggs or ./eggs