Changeset d2143ab in sasview for docs/sphinx-docs


Ignore:
Timestamp:
Mar 18, 2016 11:16:57 AM (9 years ago)
Author:
smk78
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
45dfa47e
Parents:
b2ac7b0
Message:

Temporary check in to get build server working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/build_sphinx.py

    r6a9c0e5a rd2143ab  
    1616from distutils.dir_util import copy_tree 
    1717from distutils.util import get_platform 
    18 from shutil import copyfile 
     18from shutil import copy 
    1919 
    2020platform = '.%s-%s'%(get_platform(),sys.version[:3]) 
     
    3333# We are currently here: 
    3434#/sasview-local-trunk/docs/sphinx-docs/build_sphinx.py 
     35 
    3536SASMODELS_SOURCE_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "sasmodels", "models") 
    3637SASMODELS_SOURCE_IMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "sasmodels", "models", "img") 
    37 SASMODELS_DEST_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models") 
    38 SASMODELS_DEST_IMG = os.path.join(CURRENT_SCRIPT_DIR, "source", "user", "models", "img") 
     38SASMODELS_DEST_MODELS = os.path.join(SASVIEW_SRC, "sas", "models", "media") 
     39SASMODELS_DEST_IMG = os.path.join(SASVIEW_SRC, "sas", "models", "media", "img") 
    3940 
    4041#print SASMODELS_SOURCE_MODELS 
     
    113114        
    114115    # Make sure we have the relevant images for the new sasmodels documentation 
    115     copyfile(SASMODELS_SOURCE_IMG, SASMODELS_DEST_IMG) 
     116#    for filename in glob.glob(os.path.join('C:\Code\sasmodels\sasmodels\models\img', '*.*')): 
     117#        shutil.copy(filename, 'c:/code/sasview-local-trunk/src/sas/models/media') 
    116118 
    117     sys.exit() 
     119#    sys.exit() 
    118120 
    119121 
Note: See TracChangeset for help on using the changeset viewer.