Actions
Bug #1087
closedPython Bindings are not removed on make uninstall on Ubuntu 16.04
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/07/2017
Due date:
% Done:
0%
Estimated time:
Description
The bindings are installed using the distutils' setup.py but the uninstall target uses the automake variable $(pkgpythondir) to delete these files(see line 19). This results in the files not being deleted.
On Ubuntu 16.04, the destination directory used by distutils and automake differs.
Distutils:/usr/local/lib/python3.5/dist-packages/lttngust/
Automake: /usr/local/lib/python3.5/site-packages/lttngust/
I think using Distutils is the right strategy but Distutils doesn't have a proper way to uninstall files. I think we should use the --record command to save where the files were copied and use this file to delete them on uninstall.
Updated by Mathieu Desnoyers about 7 years ago
- Status changed from New to Resolved
Actions