File: configure

package info (click to toggle)
slepc 3.7.3%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,788 kB
  • ctags: 100,221
  • sloc: ansic: 79,324; makefile: 3,897; python: 2,734; fortran: 1,139; f90: 225; sh: 100
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'))