summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rwxr-xr-xdemo-project/configure4
-rwxr-xr-xtest-everything.sh3
3 files changed, 4 insertions, 5 deletions
diff --git a/README b/README
index c76a0ce..41c08b5 100644
--- a/README
+++ b/README
@@ -4,5 +4,5 @@ Principles:
* Assume most build environments are sane, and ignore the rest.
* In the face of ambiguity, refuse the temptation to guess.
* Never automatically toggle features based on the build environment.
-* Written in python2 for easy editing and wide portability.
+* Written in python3 for easy editing and wide portability.
* GPL, but this does not apply to the program being built.
diff --git a/demo-project/configure b/demo-project/configure
index 47022c2..61a2c2e 100755
--- a/demo-project/configure
+++ b/demo-project/configure
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright 2013 Ben Longbons <b.r.longbons@gmail.com>
#
@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with attoconf. If not, see <http://www.gnu.org/licenses/>.
-from __future__ import print_function, division, absolute_import
-
import os
import sys
diff --git a/test-everything.sh b/test-everything.sh
index 64fc89d..c45ad00 100755
--- a/test-everything.sh
+++ b/test-everything.sh
@@ -1,5 +1,6 @@
#!/bin/sh -e
-python -m unittest discover "$@"
+python3 -m unittest discover "$@"
+
mkdir -p demo-build
cd demo-build
../demo-project/configure