python plugin doesn't work for namespace packages
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
snapcraft version: commit dbdaf36a43c7e5682d00e34552ce283f4ec1fc9d (this is the fix for https://bugs.launchpad.net/snapcraft/+bug/1670852).
snap: github.com/openstack/snap-keystone
When testing the above bug fix, I started hitting the following issue. Note: the above commit did fix the issue reported in that bug.
The snap installs successfully now. However, python dependencies aren't fully getting installed. I don't hit these issues on 2.22.
For example, after installing the snap, running a command from the snap I hit this: http://paste.ubuntu.com/24230185/
And /snap/keystone/current/lib/python2.7/site-packages/repoze/lru/ does in fact exist.
'touch /snap/keystone/current/lib/python2.7/site-packages/repoze/lru/__init__.py' got me past that issue.
Then starting a daemon 'sudo systemctl restart snap.keystone.api' I hit: http://paste.ubuntu.com/24230205/
Once again, 'touch /snap/keystone/x1/lib/python2.7/site-packages/paste/__init__.py' seemed to fix that issue.
It seems that the cause of this problem may be due to: https://github.com/pypa/pip/issues/1924
Evaluation history
No evaluation history available.