python console_scripts not installed into /snap/<snap>/current/bin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Versions:
snapcraft 2.27.1+17.04
snapd 2.23+17.04
Python console_scripts and wsgi_scripts (entry_points) are not being installed into /snap/<
I have a simple python snap:
git clone https:/
cd snap-keystone-test
sudo snapcraft
sudo snap install --dangerous keystone_
After I install the snap, the bin files aren't available in $SNAP/bin:
ls /snap/keystone/
If I pip install into a virtualenv from the same source tar file that the snap is using, the bin files are available:
wget http://
tar -xvf keystone-
cd keystone-*
pip install -c https:/
ls venv/bin/ # keystone-manage, keystone-
description: | updated |
description: | updated |
description: | updated |
summary: |
- python entry_points not installed into /snap/<snap>/current/bin + python console_scripts not installed into /snap/<snap>/current/bin |
tags: | added: openstack |
affects: | snappy → snapcraft |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
With snapcraft 2.23 the bin files do get installed, so it appears that something has regressed since 2.23.