# Copying SLD data import periodictable DATA_FILES += periodictable.data_files() from sas.sasgui.perspectives import fitting DATA_FILES += fitting.data_files() from sas.sasgui.perspectives import calculator DATA_FILES += calculator.data_files() from sas.sasgui.perspectives import invariant DATA_FILES += invariant.data_files() from sas.sasgui import guiframe DATA_FILES += guiframe.data_files() # precompile sas models into the sasview build path; doesn't matter too much # where it is so long as it is a place that will get cleaned up afterwards. import sasmodels.core dll_path = os.path.join(build_path, 'compiled_models') compiled_dlls = sasmodels.core.precompile_dlls(dll_path, dtype='double') # include the compiled models as data; coordinate the target path for the # data with installer_generator.py DATA_FILES.append(('compiled_models', compiled_dlls)) import sasmodels DATA_FILES += sasmodels.data_files() for f in matplotlibdata:
# Copying SLD data import periodictable data_files += periodictable.data_files() import sas.sasgui.perspectives.fitting as fitting data_files += fitting.data_files() import sas.sasgui.perspectives.calculator as calculator data_files += calculator.data_files() import sas.sasgui.perspectives.invariant as invariant data_files += invariant.data_files() import sas.sasgui.guiframe as guiframe data_files += guiframe.data_files() # precompile sas models into the sasview build path; doesn't matter too much # where it is so long as it is a place that will get cleaned up afterwards. import sasmodels.core dll_path = os.path.join(build_path, 'compiled_models') compiled_dlls = sasmodels.core.precompile_dlls(dll_path, dtype='double') # include the compiled models as data; coordinate the target path for the # data with installer_generator.py data_files.append(('compiled_models', compiled_dlls)) import sasmodels data_files += sasmodels.data_files() for f in matplotlibdata: