Chains of parts with python contents can fail with pkg_resources import error
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Testing in a clean up-to-date xenial container and snapcraft installed from git master using a virtualenv as described in HACKING file.
The attached snapcraft.yaml fails to build with an error building the wheel for the python-package in the final part. Excerpt of error:
ImportError: No module named 'pkg_resources.py31compat'
----------------------------------------
Failed building wheel for bitstring
Running setup.py clean for bitstring
Failed to build bitstring
ERROR: Failed to build one or more wheels
Evaluation history
No evaluation history available.