[ZODB-Dev] revising layout of ZODB3 checkout
Jeremy Hylton
jeremy at alum.mit.edu
Thu Jan 8 21:47:10 EST 2004
Several people have had problems with the current layout of source code
within a ZODB3 checkout and, hence, a source distribution. The problem
is the top-level directories that contain packages with cExtensions
(like persistent). If you build using setup.py build and run the tests,
all the compiled C extensions are in the build directory. If you then
run python from the same directory and type "import ZODB," it will fail
because it picks up the uncompiled source directory.
I think we can fix this by moving all the source code to a top-level src
directory. As a result, a checkout would only have two top-level
directories Doc and src. It would also have setup.py, test.py, and a
few other files.
This change would not affect a Zope checkout at all. I would just
re-arrange the repolinks for the ZODB3 CVS module.
The one downside is that it screws up current checkouts. In most cases,
people would be best off getting a fresh checkout if the change is
made. Would that be a problem? Does anyone object? I can probably do
this next week if it sounds like a good idea.
Jeremy
More information about the ZODB-Dev
mailing list