From d8fd0258531c81a873810cb2d0d7e1c0e8401ec9 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Apr 22 2019 08:42:56 +0000 Subject: Switch to python3 by default This change replaces python2 by python3. --- diff --git a/README.md b/README.md index 4887ca9..bb0d3fc 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ validated against the specification using `make test`. Use `make clean` to clean up all temporary files. Run `make` to convert spec, validate messages and clean up in a single step. -Note: Make sure that `python-jsonschema` and `python-anymarkup` +Note: Make sure that `python3-jsonschema` and `python3-anymarkup` are installed on your system when converting specification and validating examples. diff --git a/scripts/convert.py b/scripts/convert.py index 2ba554c..d8de862 100755 --- a/scripts/convert.py +++ b/scripts/convert.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import anymarkup diff --git a/scripts/validate.py b/scripts/validate.py index 2196f62..7279f62 100755 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python -from __future__ import print_function +#!/usr/bin/env python3 import os import sys