- Timestamp:
- Apr 11, 2017 5:51:01 AM (7 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:
- 01f1e17
- Parents:
- f4d571b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r6c7e4cc1 r21bba86 159 159 # check for doc path 160 160 SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(),'..','sasmodels','doc')) 161 print "========= check for sasmodels at "+SASMODELS_DOCPATH+"============"161 print("========= check for sasmodels at",SASMODELS_DOCPATH,"============") 162 162 if os.path.exists(SASMODELS_DOCPATH): 163 163 if os.path.isdir(SASMODELS_DOCPATH): 164 164 # if available, build sasmodels docs 165 print "============= Building sasmodels model documentation ==============="165 print("============= Building sasmodels model documentation ===============") 166 166 smdocbuild = subprocess.call(["make","-C",SASMODELS_DOCPATH,"html"]) 167 167 else: 168 168 # if not available warning message 169 print " == !!WARNING!! sasmodels directory not found. Cannot build model docs. =="169 print("== !!WARNING!! sasmodels directory not found. Cannot build model docs. ==") 170 170 171 171 #Now build sasview (+sasmodels) docs
Note: See TracChangeset
for help on using the changeset viewer.