xref: /petsc/configure (revision 2b8d69ca7ea5fe9190df62c1dce3bbd66fce84dd)
1#!/usr/bin/env python
2
3import sys
4if not type(sys.version_info) is tuple and sys.version_info.major > 2:
5  print('Configure does not support Python 3 yet, please run as')
6  print('  python2 ' + ' '.join(["'" + a + "'" for a in sys.argv]))
7  sys.exit(1)
8
9import os
10execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))
11