Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

How about we include the python files...

  • Loading branch information...
commit 4a6275a4fe54f46b7aff104deb4939b7543e49c6 1 parent 04de560
@wichert wichert authored
Showing with 23 additions and 14 deletions.
  1. +1 −0  .gitignore
  2. +22 −14 debian/rules
View
1  .gitignore
@@ -32,3 +32,4 @@ pip-log.txt
/debian/files
/debian/python-derpconf.*
/debian/python-derpconf
+/debian/tmp
View
36 debian/rules
@@ -5,22 +5,30 @@ PYTHON2 ?= $(shell pyversions -vr)
build build-arch build-indep:
@echo Nothing to do
-%:
- dh $@ --with python2
+binary: binary-indep
-build-python%:
- python$* setup.py build
-
-install-python%:
- python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
-
-override_dh_auto_install: $(PYTHON3:%=install-python%)
- dh_auto_install
+binary-arch:
+ @echo Nothing to do
-override_dh_installdocs:
+binary-indep:
+ dh_testroot
+ dh_prep
+ python$(PYTHON2) setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb
+ dh_install
+ dh_installdirs
dh_installdocs README.md
-
-override_dh_auto_clean:
- dh_auto_clean
+ dh_installchangelogs
+ dh_lintian
+ dh_python2
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+clean:
+ dh_clean
rm -rf build
rm -rf *.egg-info
+ find . -name \*.pyc -print0 | xargs -0 rm
Please sign in to comment.
Something went wrong with that request. Please try again.