Compare commits
No commits in common. "1b63ed59b75b6372aab7a5d6c7dc21b73bac1d11" and "a6e549a2dae0e098ed5b2374915bd31ab0af2f30" have entirely different histories.
1b63ed59b7
...
a6e549a2da
|
@ -2,13 +2,6 @@ import os
|
|||
import argparse
|
||||
import glob
|
||||
import json
|
||||
import sys
|
||||
|
||||
def check_python_version():
|
||||
python_version = sys.version_info
|
||||
if not (python_version.major >= 3 and python_version.minor >= 3):
|
||||
print("Minimum Python version needed: 3.3.0")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def init():
|
||||
|
|
|
@ -7,12 +7,9 @@ from lib.shell import get_from_command
|
|||
from lib.toolchain import get_compiler_version, get_mpi_version, set_toolchain
|
||||
from lib.sort import sort_libs_by_dependencies
|
||||
from lib.installer import install_lib
|
||||
from lib.init import init, check_python_version
|
||||
from lib.init import init
|
||||
|
||||
SCRIPT_VERSION = "v0.4"
|
||||
|
||||
# check if Python >=3.3.0 is used
|
||||
check_python_version()
|
||||
SCRIPT_VERSION = "v0.3"
|
||||
|
||||
# initialization by argparser
|
||||
arg_namespace, args = init()
|
||||
|
|
Loading…
Reference in New Issue