From: Bob Halley Date: Sat, 8 Oct 2016 23:36:58 +0000 (-0700) Subject: make python 3 default for kitting X-Git-Tag: v1.16.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cd285f1b53e2dbe9f699b0f8696cd61725e245d;p=thirdparty%2Fdnspython.git make python 3 default for kitting --- diff --git a/Makefile b/Makefile index cb969593..845abd3d 100644 --- 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