Commit eb945146 authored by Julien Cristau's avatar Julien Cristau
Browse files

[pkg] fix build of python3 debian package

parent 132aa39b521e
...@@ -22,11 +22,15 @@ ifeq (,$(build_py3k)) ...@@ -22,11 +22,15 @@ ifeq (,$(build_py3k))
endif endif
install-python%: install-python%:
python$* setup.py install --prefix=$(CURDIR)/debian/tmp python$* setup.py install --root=$(CURDIR)/debian/tmp --prefix=/usr
override_dh_auto_install: $(foreach python, $(shell py3versions -r), install-$(python)) override_dh_auto_install: $(foreach python, $(shell py3versions -r), install-$(python))
dh_auto_install dh_auto_install
rm -f debian/tmp/usr/lib/python*/*/logilab/__init__.py rm -f debian/tmp/usr/lib/python*/*/logilab/__init__.py
override_dh_auto_clean:
dh_auto_clean
rm -rf *.egg-info build
%: %:
dh $@ --with python2,python3 dh $@ --with python2,python3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment