Install fails with namespace pkg + data
Bug #1382171 reported by
Tom Davis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
If I have a project layout such as,
+ foo/
-- setup.py
-- setup.cfg
+ nspkg/
-- -- __init__.py
-- + pkg/
-- -- __init__.py
-- -- + data/
-- -- -- conf/
And a setup.cfg such as,
[files]
namespace_packages = nspkg
packages = nspkg.pkg
Then running `setup.py install` (or `pip install .`) will result in a failure,
error: can't copy 'nspkg/
This does *not* happen when using a manually-written setup.py
To post a comment you must log in.
I should mention it also doesn't happen when running `setup.py develop`, presumably because nothing is being copied.