--- ray/src/gen/SConscript 2016/03/10 21:43:22 1.18 +++ ray/src/gen/SConscript 2018/01/08 13:38:37 1.19 @@ -1,3 +1,5 @@ +from __future__ import division, print_function, unicode_literals + import os Import('env') # inherit from parent @@ -46,7 +48,13 @@ prog = env.Program(target=os.path.join('$RAD_BUILDBIN' progs.append(prog) if os.name == 'posix': - Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze'), 'glaze.csh')) + Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze.csh'), + 'glaze.csh')) + Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze'), + 'glaze.py')) +else: + Default(env.InstallScript(os.path.join('$RAD_BUILDBIN', 'glaze.py'), + 'glaze.py')) Default('#src/gen') env.Install('$RAD_BINDIR', progs) @@ -57,3 +65,4 @@ LIBFILES = Split('''illum.cal rev.cal skybright.cal gl env.Append(RAD_RLIBINSTALL=env.Install('$RAD_RLIBDIR', LIBFILES)) # vim: set syntax=python: +# vi: set ts=4 sw=4 :