3 """Test script to check required Python version.
5 Execute this code at the command line by typing:
7 python swc-installation-test-1.py
9 How to get a command line:
11 - On OSX run this with the Terminal application.
13 - On Windows, go to the Start menu, select 'Run' and type 'cmd'
14 (without the quotes) to run the 'cmd.exe' Windows Command Prompt.
16 - On Linux, either use your login shell directly, or run one of a
17 number of graphical terminals (e.g. 'xterm', 'gnome-terminal', ...).
19 Run the script and follow the instructions it prints at the end.
21 This test is separate to avoid syntax errors parsing the more
22 elaborate `swc-installation-test-2.py`.
32 if _sys.version_info < (2, 6):
33 print('check for Python version (python):')
34 print('outdated version of Python: ' + _sys.version)
39 if __name__ == '__main__':