Changeset 337


Ignore:
Timestamp:
Jul 9, 2011 10:45:30 AM (10 years ago)
Author:
toby
Message:

a bit of cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fsource/SConstruct

    r324 r337  
    5757# help
    5858if 'help' in COMMAND_LINE_TARGETS:
    59     print """Building Fortran routines for use with GSAS-II
     59    print """
     60----------------------------------------------
     61Building Fortran routines for use with GSAS-II
    6062----------------------------------------------
    6163
     
    8082The following options override defaults set in the scons script:
    8183
    82 FCompiler=<path>   -- define the name of the fortran compiler; default is to use
    83    g77 on Windows and gfortran elsewhere. If you use something other than g77 or
    84    gfortran, you must also specify F2PYflags
     84FCompiler=<name>  -- define the name of the fortran compiler, typically g77
     85   or gfortran; default is to use g77 on Windows and gfortran elsewhere. If
     86   you use something other than these, you must also specify F2PYflags.
    8587
    8688FORTpath=<path>    -- define a path to the fortran program; default is to use
     
    112114       (builds with a non-default [e.g. older] version of python)
    113115    """
    114     sys.exit()
     116    #sys.exit()
    115117#==========================================================================================
    116118# override from command-line options
     
    241243print 80*'='
    242244for var in ['FCompiler','FORTpath','FORTflags','F2PYflags','F2PYpath','F2PYsuffix','LDFLAGS']:
    243     print 'Variable ',var,'is',eval(var)
    244 print 'Required fortran libraries:',
    245 for lib in liblist: print " " + lib,
    246 print ""
    247 print 'f2py modules:',
    248 for mod in modlist: print " " + mod,
    249 print ""
     245    print 'Variable',var,'is',eval(var)
    250246print 'Using python at', pythonprogram
    251247print 'Python/f2py version =',version,PlatformBits
    252248print 'Install directory is',InstallLoc
     249print 'Will build object libraries:',
     250for lib in liblist: print " " + lib,
     251print ""
     252print 'f2py will build these modules:',
     253for mod in modlist: print " " + mod,
     254print ""
    253255print 80*'='
    254256#print env.Dump()
     257if 'help' in COMMAND_LINE_TARGETS: sys.exit()
Note: See TracChangeset for help on using the changeset viewer.