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: Ib078b974b56418c907a6150175cc083f94f0c711
This commit is contained in:
Corey Bryant 2017-04-24 13:47:28 +00:00
parent cd9990d665
commit 6a67622d0c
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,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: [glance]
plugin: dump