mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
Merge pull request #46 from sim590/pip-uninstall
[autotools] pip to uninstall python files
This commit is contained in:
commit
53bea202a2
2 files changed
+27
-13
No files matched your search
+12
-4
@@ -1,5 +1,7 @@
|
||||
if USE_CYTHON
|
||||
|
||||
PYTHON_INSTALL_RECORD = $(builddir)/install_record.txt
|
||||
|
||||
pybuild.stamp:
|
||||
LDFLAGS="-L$(top_srcdir)/src/.libs" $(PYTHON) setup.py build_ext --inplace
|
||||
echo stamp > pybuild.stamp
|
||||
@@ -8,10 +10,16 @@ CLEANFILES = pybuild.stamp
|
||||
|
||||
all-local: pybuild.stamp
|
||||
clean-local:
|
||||
rm -rf $(builddir)/build $(builddir)/*.so
|
||||
rm -rf $(builddir)/build $(builddir)/*.so $(PYTHON_INSTALL_RECORD)
|
||||
|
||||
install:
|
||||
$(PYTHON) setup.py install
|
||||
install-exec-local:
|
||||
$(PYTHON) setup.py install --record $(PYTHON_INSTALL_RECORD)
|
||||
rm -rf $(builddir)/build
|
||||
|
||||
endif
|
||||
if HAVE_PIP
|
||||
uninstall-local:
|
||||
/usr/bin/yes | $(PIP) uninstall $(PACKAGE)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user