From 9d6d47d1c45c2f384cbbbf52211de292f225b528 Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Mon, 17 Apr 2017 17:21:56 +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: If97986f63e666047f9cf482825ada4acbd6808ac --- snapcraft.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index 15d6730..151d7f0 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -38,6 +38,9 @@ parts: - libffi-dev - libssl-dev stage-packages: [nginx] + 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: [keystone] plugin: dump