zc.recipe.egg may delete project's source code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
When switching from the zc.recipe.
- Create a minimal develop egg: directories src and src/foo and an empty src/foo/__init__.py plus setup.py and buildout.cfg like this:
setup.py:
from setuptools import setup, find_packages
setup(
name='foo',
version=
packages=
package_
)
buildout.cfg
[buildout]
parts = foo
develop = .
[foo]
recipe = zc.recipe.
- bootstrap and buildout the buildout, everything's still fine
- modify buildout.cfg, switch the recipe to zc.recipe.
- run bin/buildout, this run doesn't even complete as it has already removed the src directory