From: Bob Halley Date: Thu, 12 May 2011 14:46:51 +0000 (+0100) Subject: assume the python3 executable is called python3 X-Git-Tag: v1.10.0-py3~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d436f693ac074b8948d1ac60b1f6223de120159;p=thirdparty%2Fdnspython.git assume the python3 executable is called python3 --- diff --git a/Makefile b/Makefile index 3dbfe953..66be578f 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # $Id: Makefile,v 1.16 2004/03/19 00:17:27 halley Exp $ -PYTHON=python +PYTHON=python3 all: ${PYTHON} ./setup.py build diff --git a/examples/ddns.py b/examples/ddns.py index 84814b73..4eb974bc 100755 --- a/examples/ddns.py +++ b/examples/ddns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Use a TSIG-signed DDNS update to update our hostname-to-address diff --git a/examples/e164.py b/examples/e164.py index 497fd680..6d9e8727 100755 --- a/examples/e164.py +++ b/examples/e164.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.e164 n = dns.e164.from_e164("+1 555 1212") diff --git a/examples/mx.py b/examples/mx.py index 4fe34df1..06189dd8 100755 --- a/examples/mx.py +++ b/examples/mx.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.resolver diff --git a/examples/name.py b/examples/name.py index a52d0e40..6669f21a 100755 --- a/examples/name.py +++ b/examples/name.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.name diff --git a/examples/reverse.py b/examples/reverse.py index b8491ca4..c8e0af55 100755 --- a/examples/reverse.py +++ b/examples/reverse.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Usage: reverse.py ... # diff --git a/examples/reverse_name.py b/examples/reverse_name.py index a87fe344..02b2e514 100755 --- a/examples/reverse_name.py +++ b/examples/reverse_name.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.reversename n = dns.reversename.from_address("127.0.0.1") diff --git a/examples/xfr.py b/examples/xfr.py index 1cd84042..5e2c399b 100755 --- a/examples/xfr.py +++ b/examples/xfr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import dns.query import dns.resolver diff --git a/examples/zonediff.py b/examples/zonediff.py index e080b9b0..a92bc943 100755 --- a/examples/zonediff.py +++ b/examples/zonediff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Small library and commandline tool to do logical diffs of zonefiles # ./zonediff -h gives you help output diff --git a/tests/Makefile b/tests/Makefile index 1f09b18b..fafe8ebe 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -15,7 +15,7 @@ # $Id: Makefile,v 1.5 2004/03/19 00:17:27 halley Exp $ -PYTHON=python3.2 +PYTHON=python3 check: test