File: SConstruct

package info (click to toggle)
pdb2pqr 1.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 23,324 kB
  • ctags: 5,760
  • sloc: python: 27,429; cpp: 9,841; xml: 9,058; makefile: 88; sh: 46; ansic: 36
file content (15 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from os.path import isfile
import os

#Are we running from the installed version?
if isfile('pdb2pqr.py.in'):
    SConscript('SConscript-main.py')
else:
    #Allow test targets to run in installed version.
    env = Environment()
    if os.name == 'nt':
        env.Append(ENV={'PATH' : os.environ['PATH']})
    Export('env')  
    pdb2pqr = [File('pdb2pqr.py')]
    Export('pdb2pqr')   
    SConscript('tests/SConscript')