Commit b869876a authored by Martijn Faassen's avatar Martijn Faassen

Big hack so that included zope 3 builds.

parent a6ae89ff
......@@ -1137,8 +1137,9 @@ class Finder:
# We're finding packages in lib/python in the source dir, but we're
# copying them directly under build/lib.<plat>. So we need to lop off
# the prefix when calculating the package names from the file names.
self._plen = len(prefix)
prefix, rest = os.path.split(prefix)
self._plen = len(prefix) + 1
def visit(self, ignore, dir, files):
for file in files:
# First see if this is one of the packages we want to add, or if
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment