From d731331bc5570a1ac7e604d936bddc013f1997e3 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Mon, 24 Apr 2017 14:34:05 +0000 Subject: [PATCH] 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 --- snapcraft.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 5dd6681..614575c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -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