...
Building config
python3 setup.py install --install-layout=deb --prefix=/home/sergiusens/source/launchpad.net/snapcraft/examples/webcam-webui/parts/config/install/usr
running install
Checking .pth file support in /home/sergiusens/source/launchpad.net/snapcraft/examples/webcam-webui/parts/config/install/usr/lib/python3/dist-packages/
/home/sergiusens/source/launchpad.net/snapcraft/examples/webcam-webui/parts/python3/install/usr/bin/python3 -E -c pass
TEST FAILED: /home/sergiusens/source/launchpad.net/snapcraft/examples/webcam-webui/parts/config/install/usr/lib/python3/dist-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
This is what I see when doing
cd examples/ webcam- webui
../../bin/snapcraft
... layout= deb --prefix= /home/sergiusen s/source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ config/ install/ usr s/source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ config/ install/ usr/lib/ python3/ dist-packages/ s/source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ python3/ install/ usr/bin/ python3 -E -c pass s/source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ config/ install/ usr/lib/ python3/ dist-packages/ does NOT support .pth files
Building config
python3 setup.py install --install-
running install
Checking .pth file support in /home/sergiusen
/home/sergiusen
TEST FAILED: /home/sergiusen
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/home/ sergiusens/ source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ config/ install/ usr/lib/ python3/ dist-packages/
and your PYTHONPATH environment variable currently contains:
'/home/ sergiusens/ source/ launchpad. net/snapcraft/ examples/ webcam- webui/parts/ python3/ install/ usr/lib/ python3/ dist-packages'
Here are some of your options for correcting the problem:
* You can choose a different installation directory, i.e., one that is
on PYTHONPATH or supports .pth files
* You can add the installation directory to the PYTHONPATH environment
variable. (It must then also be on PYTHONPATH whenever you run
Python and want to use the package(s) you are installing.)
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
https:/ /pythonhosted. org/setuptools/ easy_install. html#custom- installation- locations
Please make the appropriate changes for your system and try again.
Failed doing build for config!