- Timestamp:
- Apr 11, 2017 6:01:57 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:
- 7b15990
- Parents:
- f36e01f (diff), a42fb8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Andrew Jackson <andrew.jackson@…> (04/11/17 06:01:57)
- git-committer:
- GitHub <noreply@…> (04/11/17 06:01:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
rf36e01f rb854587 8 8 9 9 import os 10 import subprocess 10 11 import shutil 11 12 import sys … … 162 163 163 164 def run(self): 165 ''' First builds the sasmodels documentation if the directory 166 is present. Then builds the sasview docs. 167 ''' 168 ### AJJ - Add code for building sasmodels docs here: 169 # check for doc path 170 SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(), '..', 'sasmodels', 'doc')) 171 print("========= check for sasmodels at", SASMODELS_DOCPATH, "============") 172 if os.path.exists(SASMODELS_DOCPATH): 173 if os.path.isdir(SASMODELS_DOCPATH): 174 # if available, build sasmodels docs 175 print("============= Building sasmodels model documentation ===============") 176 smdocbuild = subprocess.call(["make", "-C", SASMODELS_DOCPATH, "html"]) 177 else: 178 # if not available warning message 179 print("== !!WARNING!! sasmodels directory not found. Cannot build model docs. ==") 180 181 #Now build sasview (+sasmodels) docs 164 182 sys.path.append("docs/sphinx-docs") 165 183 import build_sphinx … … 207 225 packages.extend(["sas.sascalc.dataloader", "sas.sascalc.dataloader.readers", 208 226 "sas.sascalc.dataloader.readers.schema"]) 227 209 228 210 229 # sas.sascalc.calculator … … 237 256 )) 238 257 258 239 259 # sas.sascalc.file_converter 240 260 mydir = os.path.join("src", "sas", "sascalc", "file_converter", "c_ext") … … 252 272 package_dir["sas.sascalc.corfunc"] = os.path.join( 253 273 "src", "sas", "sascalc", "corfunc") 274 254 275 packages.extend(["sas.sascalc.corfunc"]) 255 276
Note: See TracChangeset
for help on using the changeset viewer.