]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
make python 3 default for kitting
authorBob Halley <halley@dnspython.org>
Sat, 8 Oct 2016 23:36:58 +0000 (16:36 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 8 Oct 2016 23:36:58 +0000 (16:36 -0700)
Makefile

index cb969593191ca1a9dadb899ef282f9d2cdb8ada5..845abd3db23f1d7e3873232c9453ae26123df334 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@
 # $Id: Makefile,v 1.16 2004/03/19 00:17:27 halley Exp $
 
 PYTHON=python
+PYTHON3=python3
 
 all:
        ${PYTHON} ./setup.py build
@@ -48,9 +49,7 @@ docclean:
        rm -rf html.tar.gz html.zip html
 
 kits:
-       ${PYTHON} ./setup.py sdist --formats=gztar,zip
-#      ${PYTHON} ./setup.py bdist_wininst
-#      ${PYTHON} ./setup.py bdist_rpm
+       ${PYTHON3} ./setup.py sdist --formats=gztar,zip bdist_wheel
 
 tags:
        find . -name '*.py' -print | etags -
@@ -64,7 +63,7 @@ test2:
        cd tests; make PYTHON=python test
 
 test3:
-       cd tests; make PYTHON=python3 test
+       cd tests; make PYTHON=${PYTHON3} test
 
 lint:
        pylint dns tests examples/*.py