Python plugin site-packages enabled

Is there a way to enable site-packages in the virtualenv in a snap built with the python plugin? I have a requirement python-apt that cannot be installed using pip. I can’t see anything in the docs or examples on how to do this.

Thanks to kalikiana on freenode #snappy I see snapcraft installed python-apt using a tarball (https://github.com/snapcore/snapcraft/blob/master/requirements.txt#L10) but it would be nice to know if there was a way to achive this without using a tarball.

My snapcraft.yaml https://github.com/philroche/ubuntu-watch-packages/blob/master/snap/snapcraft.yaml

Snapcraft’s python plugin does not create a virtualenv. Everything inside the snap sees the python as a “system” installation. To add a package that doesn’t install via pip you just need to add another part which does the required installation into the “system” paths, e.g. $SNAPCRAFT_PART_INSTALL/usr/lib/python3