Skip to content
Snippets Groups Projects
Commit acde04c1 authored by Thomas Jürges's avatar Thomas Jürges
Browse files

SW-626: Add Python3 dependency to CMake file

parent 596f764b
No related branches found
No related tags found
No related merge requests found
#!/opt/local/bin/python #! /usr/bin/env python3
# This is a test python script for the SolverQuery class # This is a test python script for the SolverQuery class
# #
...@@ -7,12 +7,10 @@ ...@@ -7,12 +7,10 @@
# Date: 2010/07/21 # Date: 2010/07/21
# Last change 2010/10/06 # Last change 2010/10/06
import os import os
import sys import sys
import SolverQuery as sq import SolverQuery as sq
import pylab as P # needed for histogram test import pylab as P # needed for histogram test
#******************************* #*******************************
# #
...@@ -22,12 +20,11 @@ import pylab as P # needed for histogram test ...@@ -22,12 +20,11 @@ import pylab as P # needed for histogram test
# Usage function # Usage function
def usage(): def usage():
print("Usage: ", sys.argv[0],"<MS>/<solver>") print("Usage: ", sys.argv[0], "<MS>/<solver>")
print("<MS> Measurement Set file containing solutions") print("<MS> Measurement Set file containing solutions")
print("<solver> Name of table containing solver parameters (default: 'solver')") print("<solver> Name of table containing solver parameters (default: 'solver')")
return return
#******************************* #*******************************
# #
# Main function # Main function
......
# $Id$ # $Id$
include(LofarFindPackage)
lofar_find_package(Python 3.4 REQUIRED)
lofar_add_package(Laps-GRIDInterface GRIDInterface) lofar_add_package(Laps-GRIDInterface GRIDInterface)
lofar_add_package(Laps-ParsetCombiner ParsetCombiner) lofar_add_package(Laps-ParsetCombiner ParsetCombiner)
lofar_add_package(Laps-DBToQDeamon DBToQDeamon) lofar_add_package(Laps-DBToQDeamon DBToQDeamon)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment