Ignore:
Timestamp:
Aug 11, 2017 5:34:54 PM (4 years ago)
Author:
toby
Message:

make the two frame version the trunk as we hit version 3000

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/docs/source/conf.py

    r2832 r3000  
    103103sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
    104104
    105 
    106105# If extensions (or modules to document with autodoc) are in another directory,
    107106# add these directories to sys.path here. If the directory is relative to the
     
    112111sys.path.insert(1, os.path.abspath(os.path.join('..', '..','imports')))
    113112#print(sys.path)
     113# import all files to set version number
    114114import glob
    115115for fil in glob.glob(os.path.abspath(os.path.join('..', '..','*.py'))):
    116116    pkg = os.path.splitext(os.path.split(fil)[1])[0]
    117     exec('import '+pkg)
     117    try:
     118        exec('import '+pkg)
     119    except:
     120        pass
    118121import GSASIIpath
    119122version = GSASIIpath.GetVersionNumber()
     
    133136# The suffix of source filenames.
    134137source_suffix = '.rst'
    135 
    136138# The encoding of source files.
    137139#source_encoding = 'utf-8-sig'
Note: See TracChangeset for help on using the changeset viewer.