1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
From: Ole Streicher <olebole@debian.org>
Date: Wed, 4 Dec 2019 08:23:38 +0100
Subject: Use python3 in bang path of test utilities
---
build-tools/casacore_floatcheck | 2 +-
casa/apps/countcode | 2 +-
casa/apps/plotmemory | 2 +-
casa/apps/watchmemory | 2 +-
python/Converters/test/tConvert.py | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/build-tools/casacore_floatcheck b/build-tools/casacore_floatcheck
index 6cd682d..931160b 100755
--- a/build-tools/casacore_floatcheck
+++ b/build-tools/casacore_floatcheck
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#-----------------------------------------------------------------------------
# floatcheck: Check files within floating point accuracy
diff --git a/casa/apps/countcode b/casa/apps/countcode
index 6f14477..ad38fca 100755
--- a/casa/apps/countcode
+++ b/casa/apps/countcode
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This script counts the lines of code in various types of source files.
# It has options to print summaries at various levels.
diff --git a/casa/apps/plotmemory b/casa/apps/plotmemory
index 4c3ff69..db6f8e7 100755
--- a/casa/apps/plotmemory
+++ b/casa/apps/plotmemory
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import numpy as np
#import matplotlib.pyplot as plt
diff --git a/casa/apps/watchmemory b/casa/apps/watchmemory
index edc1a28..18d53e7 100755
--- a/casa/apps/watchmemory
+++ b/casa/apps/watchmemory
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import time
import string
diff --git a/python/Converters/test/tConvert.py b/python/Converters/test/tConvert.py
index f2a66ae..ed7793e 100644
--- a/python/Converters/test/tConvert.py
+++ b/python/Converters/test/tConvert.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from _tConvert import *
def dotest(t):
|