Changeset d2143ab in sasview for docs/sphinx-docs
- Timestamp:
- Mar 18, 2016 11:16:57 AM (9 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/build_sphinx.py
r6a9c0e5a rd2143ab 16 16 from distutils.dir_util import copy_tree 17 17 from distutils.util import get_platform 18 from shutil import copy file18 from shutil import copy 19 19 20 20 platform = '.%s-%s'%(get_platform(),sys.version[:3]) … … 33 33 # We are currently here: 34 34 #/sasview-local-trunk/docs/sphinx-docs/build_sphinx.py 35 35 36 SASMODELS_SOURCE_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "sasmodels", "models") 36 37 SASMODELS_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")38 SASMODELS_DEST_MODELS = os.path.join(SASVIEW_SRC, "sas", "models", "media") 39 SASMODELS_DEST_IMG = os.path.join(SASVIEW_SRC, "sas", "models", "media", "img") 39 40 40 41 #print SASMODELS_SOURCE_MODELS … … 113 114 114 115 # 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') 116 118 117 sys.exit()119 # sys.exit() 118 120 119 121
Note: See TracChangeset
for help on using the changeset viewer.