missing import when .buildout/default.cfg puts eggs outside ~/.buildout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
ZODB 3.8.1 tag
Python 2.4.4
OSX
Problem occurs when I use non-standard location for my downloads and eggs...
$ cat ~/.buildout/
[buildout]
download-directory = /opt/zope/
eggs-directory = /opt/zope/
This seems to conflict with the install process that seems to expect eggs here:
/Users/
Reproduce:
$ svn co svn://svn.
$ cd ZODB
$ /opt/zope/
$ bin/buildout
$ bin/test -v
Traceback (most recent call last):
File "/opt/zope/
import zope.testing.
File "/Users/
File "/Users/
ImportError: No module named interface
Simple Workaround:
Make the default.cfg approximate what the buildout expects:
$ cat ~/.buildout/
[buildout]
download-directory = /Users/
eggs-directory = /Users/
$ bin/test -v
Running tests at level 1
Running zope.testing.
Set up zope.testing.
Running:
...
Ran 3023 tests with 0 failures and 0 errors in 8 minutes 2.798 seconds.
Tearing down left over layers:
Tear down zope.testing.
Just to clarify...
At the time of the failed test, the directory
/Users/ russ/.buildout/ eggs
does not exist -- the eggs are in /opt/zope/ stashes/ eggs
--r