File: configure

package info (click to toggle)
petsc 3.2.dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 124,660 kB
  • sloc: ansic: 342,250; cpp: 62,975; python: 32,761; fortran: 17,337; makefile: 15,867; xml: 621; objc: 594; sh: 492; java: 381; f90: 347; csh: 245
file content (10 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env python

import sys
if not type(sys.version_info) is tuple and sys.version_info.major > 2:
  print('Configure does not support Python 3 yet, please run as')
  print('  python2 ' + ' '.join(["'" + a + "'" for a in sys.argv]))
  sys.exit(1)

import os
execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))