xref: /petsc/configure (revision fd612a45fabe073b72860a1308db1e8d2337253d)
12be4ee22SLisandro Dalcin#!/usr/bin/env python
2a8bae526SJed Brown
3a8bae526SJed Brownimport sys
4*fd612a45SMatthew G Knepleyif not type(sys.version_info) is tuple and sys.version_info.major > 2:
5a8bae526SJed Brown  print('Configure does not support Python 3 yet, please run as')
6a8bae526SJed Brown  print('  python2 ' + ' '.join(["'" + a + "'" for a in sys.argv]))
7a8bae526SJed Brown  sys.exit(1)
8a8bae526SJed Brown
92be4ee22SLisandro Dalcinimport os
102be4ee22SLisandro Dalcinexecfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))
11