/[escript]/release/3.0_win/SConstruct
ViewVC logotype

Diff of /release/3.0_win/SConstruct

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

revision 2638 by jfenwick, Wed Aug 26 03:36:02 2009 UTC revision 2639 by jfenwick, Mon Aug 31 01:28:52 2009 UTC
# Line 347  if IS_WINDOWS_PLATFORM: Line 347  if IS_WINDOWS_PLATFORM:
347  env.Append(ARFLAGS = env['ar_flags'])  env.Append(ARFLAGS = env['ar_flags'])
348    
349  # Get the global Subversion revision number for getVersion() method  # Get the global Subversion revision number for getVersion() method
350  try:  #try:
351     global_revision = os.popen("svnversion -n .").read()  #   global_revision = os.popen("svnversion -n .").read()
352     global_revision = re.sub(":.*", "", global_revision)  #   global_revision = re.sub(":.*", "", global_revision)
353     global_revision = re.sub("[^0-9]", "", global_revision)  #   global_revision = re.sub("[^0-9]", "", global_revision)
354  except:  #except:
355     global_revision="-1"  #   global_revision="-1"
356  if global_revision == "": global_revision="-2"  #if global_revision == "":
357  env.Append(CPPDEFINES = ["SVN_VERSION="+global_revision])  global_revision="2639"
358    env.Append(CPPDEFINES = ["SVN_VERSION=2639"])
359    
360  ############ numpy (required) ###############################  ############ numpy (required) ###############################
361    

Legend:
Removed from v.2638  
changed lines
  Added in v.2639

  ViewVC Help
Powered by ViewVC 1.1.26