Bug 967 - make uninstall doesn't fully uninstall Python bindings
Summary: make uninstall doesn't fully uninstall Python bindings
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Bindings: Python (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-03 18:41 CEST by Uwe Hermann
Modified: 2017-06-03 18:41 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Hermann 2017-06-03 18:41:49 CEST
The following files are left behind:

[...]/lib/python2.7
[...]/lib/python2.7/site-packages
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/SOURCES.txt
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/PKG-INFO
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/not-zip-safe
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/dependency_links.txt
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/namespace_packages.txt
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7.egg-info/top_level.txt
[...]/lib/python2.7/site-packages/sigrok
[...]/lib/python2.7/site-packages/sigrok/core
[...]/lib/python2.7/site-packages/sigrok/core/_classes.so
[...]/lib/python2.7/site-packages/sigrok/core/classes.py
[...]/lib/python2.7/site-packages/sigrok/core/classes.pyc
[...]/lib/python2.7/site-packages/sigrok/core/__init__.py
[...]/lib/python2.7/site-packages/sigrok/core/__init__.pyc
[...]/lib/python2.7/site-packages/libsigrok-0.5.0-py2.7-nspkg.pth

We cannot and should not remove lib/python2.7 and lib/python2.7/site-packages.

The clearly sigrok-specific files are our responsibility to remove upon uninstall, though.