Changeset 6c7e4cc1 in sasview
- Timestamp:
- Apr 10, 2017 11:21:16 AM (8 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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- f4d571b
- Parents:
- 115eb7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r115eb7e r6c7e4cc1 5 5 import sys 6 6 import os 7 import subprocess 7 8 import shutil 8 9 from setuptools import setup, Extension … … 157 158 ### AJJ - Add code for building sasmodels docs here: 158 159 # check for doc path 159 SASMODELS_PATH = '../sasmodels' 160 if os.path.exists(SASMODELS_PATH): 161 if os.path.isdir(SASMODELS_PATH): 160 SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(),'..','sasmodels','doc')) 161 print "========= check for sasmodels at "+SASMODELS_DOCPATH+"============" 162 if os.path.exists(SASMODELS_DOCPATH): 163 if os.path.isdir(SASMODELS_DOCPATH): 162 164 # if available, build sasmodels docs 163 else: 164 # if not available warning message 165 print "WARNING!! sasmodels directory not found. Cannot build model docs." 165 print "============= Building sasmodels model documentation ===============" 166 smdocbuild = subprocess.call(["make","-C",SASMODELS_DOCPATH,"html"]) 167 else: 168 # if not available warning message 169 print " == !!WARNING!! sasmodels directory not found. Cannot build model docs. ==" 166 170 167 171 #Now build sasview (+sasmodels) docs
Note: See TracChangeset
for help on using the changeset viewer.