Changeset 525aaa2 in sasview for sasview/setup_exe.py


Ignore:
Timestamp:
Aug 22, 2016 2:27:57 AM (5 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b61bd57, dde9e0e
Parents:
ee6d4ad
git-author:
Piotr Rozyczko <rozyczko@…> (08/22/16 02:26:15)
git-committer:
Piotr Rozyczko <rozyczko@…> (08/22/16 02:27:57)
Message:

Reverted precompiled models removal - requires more thought

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/setup_exe.py

    r09afe90 r525aaa2  
    209209data_files += guiframe.data_files() 
    210210 
     211# precompile sas models into the sasview build path; doesn't matter too much 
     212# where it is so long as it is a place that will get cleaned up afterwards. 
     213import sasmodels.core 
     214dll_path = os.path.join(build_path, 'compiled_models') 
     215compiled_dlls = sasmodels.core.precompile_dlls(dll_path, dtype='double') 
     216 
     217# include the compiled models as data; coordinate the target path for the 
     218# data with installer_generator.py 
     219data_files.append(('compiled_models', compiled_dlls)) 
     220 
    211221import sasmodels 
    212222data_files += sasmodels.data_files() 
Note: See TracChangeset for help on using the changeset viewer.