Touch namespace package __init__.py files

This is a work-around for https://bugs.launchpad.net/bugs/1675479,
where namespace packages aren't installed correctly.

Change-Id: I0147c6f3c6b97ba0c67c383e04cebb9b4928961f
This commit is contained in:
Corey Bryant 2017-04-24 14:34:05 +00:00
parent 7d540c988b
commit d731331bc5

View File

@ -103,6 +103,9 @@ parts:
- libvirt-dev
stage-packages:
- qemu-utils
install:
touch $SNAPCRAFT_PART_INSTALL/lib/python2.7/site-packages/paste/__init__.py
touch $SNAPCRAFT_PART_INSTALL/lib/python2.7/site-packages/repoze/__init__.py
templates:
after: [nova]
plugin: dump