From: Francis Deslauriers Date: Thu, 2 Mar 2017 16:56:05 +0000 (-0500) Subject: Fix: (un)install targets of Python agent X-Git-Tag: v2.10.0-rc1~18 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a49a7e686059ce795ce678b42cc109b7a2b1d91e;hp=a49a7e686059ce795ce678b42cc109b7a2b1d91e;p=lttng-ust.git Fix: (un)install targets of Python agent This Makefile was using Distutils' setup.py to install the Python agent but was using the Autoconf's $pkgpythondir variable for the uninstall process. The two folders can be different on some distributions which made the uninstall attempting to delete a non-existant folder and effectively not uninstalling. We now run a phony installation of the bindings in a temporary directory and use the tree structure of the install folder to infere the location of the files on the system to delete them. Also, we print a warning if the install directory is not included in the PYTHONPATH variable. Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers ---