ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/build_utils/find_libs.py
(Generate patch)

Comparing ray/build_utils/find_libs.py (file contents):
Revision 1.9 by schorsch, Sat Mar 19 12:58:59 2016 UTC vs.
Revision 1.10 by schorsch, Tue Apr 19 21:21:23 2016 UTC

# Line 13 | Line 13 | def find_radlib(env):
13          ''')
14                  env.Exit()
15  
16 + def find_pyinstaller(env):
17 +        if os.name != 'nt':
18 +                return
19 +        conf = SConf(env)
20 +        oldpath = (env['ENV'].get('PATH'))
21 +        try:
22 +                env['ENV']['PATH'] = os.environ['PATH']
23 +                pyinst = conf.CheckProg('pyinstaller.exe')
24 +                if pyinst:
25 +                        env['PYINSTALLER'] = pyinst
26 +                        env['PYSCRIPTS'] = []
27 +                env = conf.Finish()
28 +        finally:
29 +                env['ENV']['PATH'] = oldpath
30 +
31   def find_x11(env):
32          # Search for libX11, remember the X11 library and include dirs
33          for d in ('/usr/X11R6', '/usr/X11', '/usr/openwin'):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines