From 64c93eb1cd624a1abc58bdf40701153ae5c9819e Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Mon, 24 Apr 2017 13:07:53 +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: Ie4b8898ad79a6958bdd58dccdc668441848bff78 --- snapcraft.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 44b8ac6..0bb167e 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -29,6 +29,9 @@ parts: - gcc - libffi-dev - libssl-dev + 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: [neutron] plugin: dump