Project

General

Profile

Actions

Bug #1087

closed

Python Bindings are not removed on make uninstall on Ubuntu 16.04

Added by Francis Deslauriers about 7 years ago. Updated about 7 years ago.

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.

Actions #1

Updated by Francis Deslauriers about 7 years ago

Fixed by a49a7e6.

Actions #2

Updated by Mathieu Desnoyers about 7 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF