Changeset 14bb7a4 in sasview
- Timestamp:
- Apr 11, 2017 7:49:03 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:
- 7b15990
- Parents:
- 01f1e17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r21bba86 r14bb7a4 158 158 ### AJJ - Add code for building sasmodels docs here: 159 159 # check for doc path 160 SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(), '..','sasmodels','doc'))161 print("========= check for sasmodels at", SASMODELS_DOCPATH,"============")160 SASMODELS_DOCPATH = os.path.abspath(os.path.join(os.getcwd(), '..', 'sasmodels', 'doc')) 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 165 print("============= Building sasmodels model documentation ===============") 166 smdocbuild = subprocess.call(["make", "-C",SASMODELS_DOCPATH,"html"])166 smdocbuild = subprocess.call(["make", "-C", SASMODELS_DOCPATH, "html"]) 167 167 else: 168 168 # if not available warning message … … 198 198 # build local plugin 199 199 for d in os.listdir(os.path.join(guiframe_path, "local_perspectives")): 200 if d not in ['.svn', '__init__.py', '__init__.pyc']:200 if d not in ['.svn', '__init__.py', '__init__.pyc']: 201 201 package_name = "sas.sasgui.guiframe.local_perspectives." + d 202 202 packages.append(package_name) … … 205 205 # sas.sascalc.dataloader 206 206 package_dir["sas.sascalc.dataloader"] = os.path.join("src", "sas", "sascalc", "dataloader") 207 package_data["sas.sascalc.dataloader.readers"] = ['defaults.json', 'schema/*.xsd']208 packages.extend(["sas.sascalc.dataloader", "sas.sascalc.dataloader.readers","sas.sascalc.dataloader.readers.schema"])207 package_data["sas.sascalc.dataloader.readers"] = ['defaults.json', 'schema/*.xsd'] 208 packages.extend(["sas.sascalc.dataloader", "sas.sascalc.dataloader.readers", "sas.sascalc.dataloader.readers.schema"]) 209 209 210 210 # sas.sascalc.calculator … … 227 227 srcdir = os.path.join("src", "sas", "sascalc", "pr", "c_extensions") 228 228 package_dir["sas.sascalc.pr.core"] = srcdir 229 package_dir["sas.sascalc.pr"] = os.path.join("src", "sas", "sascalc", "pr")229 package_dir["sas.sascalc.pr"] = os.path.join("src", "sas", "sascalc", "pr") 230 230 packages.extend(["sas.sascalc.pr","sas.sascalc.pr.core"]) 231 231 ext_modules.append( Extension("sas.sascalc.pr.core.pr_inversion", … … 239 239 mydir = os.path.join("src", "sas", "sascalc", "file_converter", "c_ext") 240 240 package_dir["sas.sascalc.file_converter.core"] = mydir 241 package_dir["sas.sascalc.file_converter"] = os.path.join("src", "sas", "sascalc", "file_converter")242 packages.extend(["sas.sascalc.file_converter", "sas.sascalc.file_converter.core"])241 package_dir["sas.sascalc.file_converter"] = os.path.join("src", "sas", "sascalc", "file_converter") 242 packages.extend(["sas.sascalc.file_converter", "sas.sascalc.file_converter.core"]) 243 243 ext_modules.append( Extension("sas.sascalc.file_converter.core.bsl_loader", 244 244 sources = [os.path.join(mydir, "bsl_loader.c")],
Note: See TracChangeset
for help on using the changeset viewer.