xref: /petsc/configure (revision b2b77a04a644fb8949a04a8ba0dae8d616b7156d)
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