/[ascend]/trunk/scons/sundials.py
ViewVC logotype

Diff of /trunk/scons/sundials.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2714 by jpye, Sat Aug 17 10:16:07 2013 UTC revision 2715 by jpye, Sun Sep 1 12:29:23 2013 UTC
# Line 133  def find_sundials_config(env): Line 133  def find_sundials_config(env):
133      # If we can read the registry, get the NSIS command from it      # If we can read the registry, get the NSIS command from it
134      try:      try:
135          # 0x20019 is KEY_READ,          # 0x20019 is KEY_READ,
136          k = SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,'SOFTWARE\\NSIS',0,0x20019)          k = SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,'SOFTWARE\\SUNDIALS',0,0x20019)
137          val, tok = SCons.Util.RegQueryValueEx(k,None)          val, tok = SCons.Util.RegQueryValueEx(k,None)
138          ret = val + os.path.sep + 'makensis.exe'          ret = val + os.path.sep + 'makensis.exe'
139          if os.path.exists(ret):          if os.path.exists(ret):

Legend:
Removed from v.2714  
changed lines
  Added in v.2715

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22