Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Move all scripts to Python3

Commit
0d8eeec55744e95b013fb1963c80ae439313a25f
Author
Martin Hořeňovský ·
Parents
d3c0b36487b5

Files · Download .tar.gz

Changes

 tools/scripts/approvalTests.py                   | 2 +-
 tools/scripts/approve.py                         | 2 +-
 tools/scripts/benchmarkCompile.py                | 2 +-
 tools/scripts/developBuild.py                    | 2 +-
 tools/scripts/embedClara.py                      | 2 +-
 tools/scripts/extractFeaturesFromReleaseNotes.py | 2 +-
 tools/scripts/fixWhitespace.py                   | 2 +-
 tools/scripts/generateSingleHeader.py            | 2 +-
 tools/scripts/majorRelease.py                    | 2 +-
 tools/scripts/minorRelease.py                    | 2 +-
 tools/scripts/patchRelease.py                    | 2 +-
 tools/scripts/releaseNotes.py                    | 2 +-
 tools/scripts/updateDocumentToC.py               | 2 +-
 tools/scripts/updateWandbox.py                   | 4 ++++
 14 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/tools/scripts/approvalTests.py b/tools/scripts/approvalTests.py
index faedce7e..f8b9425c 100755
--- a/tools/scripts/approvalTests.py
+++ b/tools/scripts/approvalTests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
diff --git a/tools/scripts/approve.py b/tools/scripts/approve.py
index 252d08ec..997b8c71 100755
--- a/tools/scripts/approve.py
+++ b/tools/scripts/approve.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from  __future__ import  print_function
 
diff --git a/tools/scripts/benchmarkCompile.py b/tools/scripts/benchmarkCompile.py
index 586c26ac..34113b9e 100755
--- a/tools/scripts/benchmarkCompile.py
+++ b/tools/scripts/benchmarkCompile.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
diff --git a/tools/scripts/developBuild.py b/tools/scripts/developBuild.py
index a8115fe2..9252c7d6 100755
--- a/tools/scripts/developBuild.py
+++ b/tools/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/tools/scripts/embedClara.py b/tools/scripts/embedClara.py
index 7ceb3e32..d8c1520a 100755
--- a/tools/scripts/embedClara.py
+++ b/tools/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/tools/scripts/extractFeaturesFromReleaseNotes.py b/tools/scripts/extractFeaturesFromReleaseNotes.py
index 090f4772..11f4955c 100644
--- a/tools/scripts/extractFeaturesFromReleaseNotes.py
+++ b/tools/scripts/extractFeaturesFromReleaseNotes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # extractFeaturesFromReleaseNotes.py
diff --git a/tools/scripts/fixWhitespace.py b/tools/scripts/fixWhitespace.py
index bfa4aa08..4591c1c4 100755
--- a/tools/scripts/fixWhitespace.py
+++ b/tools/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/tools/scripts/generateSingleHeader.py b/tools/scripts/generateSingleHeader.py
index f8968774..0de1a636 100755
--- a/tools/scripts/generateSingleHeader.py
+++ b/tools/scripts/generateSingleHeader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
diff --git a/tools/scripts/majorRelease.py b/tools/scripts/majorRelease.py
index 8da34066..e9e285a8 100755
--- a/tools/scripts/majorRelease.py
+++ b/tools/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/tools/scripts/minorRelease.py b/tools/scripts/minorRelease.py
index 6e71cd80..2b57c2ea 100755
--- a/tools/scripts/minorRelease.py
+++ b/tools/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/tools/scripts/patchRelease.py b/tools/scripts/patchRelease.py
index 14176420..d20db714 100755
--- a/tools/scripts/patchRelease.py
+++ b/tools/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/tools/scripts/releaseNotes.py b/tools/scripts/releaseNotes.py
index 5e770bba..7f580e98 100755
--- a/tools/scripts/releaseNotes.py
+++ b/tools/scripts/releaseNotes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
diff --git a/tools/scripts/updateDocumentToC.py b/tools/scripts/updateDocumentToC.py
index 325c8a3c..41b48752 100644
--- a/tools/scripts/updateDocumentToC.py
+++ b/tools/scripts/updateDocumentToC.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # updateDocumentToC.py
diff --git a/tools/scripts/updateWandbox.py b/tools/scripts/updateWandbox.py
index fa25ef1b..3668da52 100644
--- a/tools/scripts/updateWandbox.py
+++ b/tools/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')