diff options
author | Martin Hořeňovský <martin.horenovsky@gmail.com> | 2020-03-19 12:36:30 +0100 |
---|---|---|
committer | Martin Hořeňovský <martin.horenovsky@gmail.com> | 2020-03-19 12:36:30 +0100 |
commit | 695a356f9303bd883e44681f972d10021699cdc0 (patch) | |
tree | eeeac4dbc3d5f98de3643c2656013ff44b4afe13 | |
parent | 020b6556356cfd1fe0d62579123e9802f787eb07 (diff) | |
download | catch2-695a356f9303bd883e44681f972d10021699cdc0.tar.gz |
Move all scripts to Python3
-rwxr-xr-x | scripts/approvalTests.py | 2 | ||||
-rwxr-xr-x | scripts/approve.py | 2 | ||||
-rwxr-xr-x | scripts/benchmarkCompile.py | 2 | ||||
-rwxr-xr-x | scripts/developBuild.py | 2 | ||||
-rwxr-xr-x | scripts/embedClara.py | 2 | ||||
-rw-r--r-- | scripts/extractFeaturesFromReleaseNotes.py | 2 | ||||
-rwxr-xr-x | scripts/fixWhitespace.py | 2 | ||||
-rwxr-xr-x | scripts/generateSingleHeader.py | 2 | ||||
-rwxr-xr-x | scripts/majorRelease.py | 2 | ||||
-rwxr-xr-x | scripts/minorRelease.py | 2 | ||||
-rwxr-xr-x | scripts/patchRelease.py | 2 | ||||
-rwxr-xr-x | scripts/releaseNotes.py | 2 | ||||
-rw-r--r-- | scripts/updateDocumentToC.py | 2 | ||||
-rw-r--r-- | scripts/updateWandbox.py | 4 |
14 files changed, 17 insertions, 13 deletions
diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index dad2a96b..838a1a78 100755 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/scripts/approve.py b/scripts/approve.py index f03417dc..1e0d5a7a 100755 --- a/scripts/approve.py +++ b/scripts/approve.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/scripts/benchmarkCompile.py b/scripts/benchmarkCompile.py index 586c26ac..34113b9e 100755 --- a/scripts/benchmarkCompile.py +++ b/scripts/benchmarkCompile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/scripts/developBuild.py b/scripts/developBuild.py index a8115fe2..9252c7d6 100755 --- a/scripts/developBuild.py +++ b/scripts/developBuild.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import releaseCommon diff --git a/scripts/embedClara.py b/scripts/embedClara.py index 7ceb3e32..d8c1520a 100755 --- a/scripts/embedClara.py +++ b/scripts/embedClara.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Execute this script any time you import a new copy of Clara into the third_party area import os diff --git a/scripts/extractFeaturesFromReleaseNotes.py b/scripts/extractFeaturesFromReleaseNotes.py index 090f4772..11f4955c 100644 --- a/scripts/extractFeaturesFromReleaseNotes.py +++ b/scripts/extractFeaturesFromReleaseNotes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # extractFeaturesFromReleaseNotes.py diff --git a/scripts/fixWhitespace.py b/scripts/fixWhitespace.py index bfa4aa08..4591c1c4 100755 --- a/scripts/fixWhitespace.py +++ b/scripts/fixWhitespace.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os diff --git a/scripts/generateSingleHeader.py b/scripts/generateSingleHeader.py index ef14f5f1..ffd11780 100755 --- a/scripts/generateSingleHeader.py +++ b/scripts/generateSingleHeader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/scripts/majorRelease.py b/scripts/majorRelease.py index 8da34066..e9e285a8 100755 --- a/scripts/majorRelease.py +++ b/scripts/majorRelease.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import releaseCommon diff --git a/scripts/minorRelease.py b/scripts/minorRelease.py index 6e71cd80..2b57c2ea 100755 --- a/scripts/minorRelease.py +++ b/scripts/minorRelease.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import releaseCommon diff --git a/scripts/patchRelease.py b/scripts/patchRelease.py index 14176420..d20db714 100755 --- a/scripts/patchRelease.py +++ b/scripts/patchRelease.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import releaseCommon diff --git a/scripts/releaseNotes.py b/scripts/releaseNotes.py index 5e770bba..7f580e98 100755 --- a/scripts/releaseNotes.py +++ b/scripts/releaseNotes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function diff --git a/scripts/updateDocumentToC.py b/scripts/updateDocumentToC.py index 325c8a3c..41b48752 100644 --- a/scripts/updateDocumentToC.py +++ b/scripts/updateDocumentToC.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # updateDocumentToC.py diff --git a/scripts/updateWandbox.py b/scripts/updateWandbox.py index fa25ef1b..3668da52 100644 --- a/scripts/updateWandbox.py +++ b/scripts/updateWandbox.py @@ -3,10 +3,14 @@ import json import os import urllib.request +import urllib.parse + from scriptCommon import catchPath def upload(options): +# request_blah = urllib.request.Request('https:// + request = urllib.request.Request('https://melpon.org/wandbox/api/compile.json', method='POST') json_bytes = json.dumps(options).encode('utf-8') request.add_header('Content-Type', 'application/json; charset=utf-8') |