File: configure

package info (click to toggle)
petsc 3.7.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 163,864 kB
  • ctags: 618,438
  • sloc: ansic: 515,133; python: 29,793; makefile: 20,458; fortran: 18,998; cpp: 6,515; f90: 3,914; sh: 1,012; xml: 621; objc: 445; csh: 240; java: 13
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'))