Commit f3f3bd91 authored by Jim Fulton's avatar Jim Fulton

Fixed egg-copying bug.

parent 5ddf1f1f
......@@ -183,6 +183,9 @@ class Buildout(dict):
os.path.basename(dist.location))
entries.append(dest)
if not os.path.exists(dest):
if os.path.isdir(dist.location):
shutil.copytree(dist.location, dest)
else:
shutil.copy2(dist.location, dest)
# Create buildout script
......
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