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
This commit is contained in:
Corey Bryant 2017-04-17 17:21:56 +00:00
parent 136d93f924
commit 9d6d47d1c4
1 changed files with 3 additions and 0 deletions

View File

@ -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