Changeset 2a8bd705 in sasview for sasview/sasview.spec
- Timestamp:
- Jul 25, 2017 4:36:48 AM (7 years ago)
- Branches:
- 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
- Children:
- b00414d
- Parents:
- 6ff2eb3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/sasview.spec
- Property mode changed from 100755 to 100644
re42c8e9d r2a8bd705 51 51 datas.append(('welcome_panel.py','.')) 52 52 53 datas.append((os.path.join(PYTHON_LOC,'Lib','SocketServer.py'),'.')) 54 53 55 # TODO 54 56 # NEED BETTER WAY TO DEAL WITH THESE RELATIVE PATHS 55 57 datas.append((os.path.join('..','..','sasmodels','sasmodels'),'sasmodels')) 56 58 datas.append((os.path.join('..','src','sas','sasgui','perspectives','fitting','plugin_models'),'plugin_models')) 57 58 # precompile sas models into the sasview build path; doesn't matter too much59 # where it is so long as it is a place that will get cleaned up afterwards.60 import sasmodels.core61 dll_path = 'compiled_models'62 if not (os.path.exists(dll_path)):63 os.mkdir(dll_path)64 dll_path2 = os.path.join(dll_path, dll_path)65 if not (os.path.exists(dll_path2)):66 os.mkdir(dll_path2)67 68 compiled_dlls = sasmodels.core.precompile_dlls(dll_path, dtype='double')69 70 # include the compiled models as data; coordinate the target path for the71 # data with installer_generator.py72 datas.append((os.path.join('compiled_models','compiled_models'),'compiled_models'))73 59 74 60 # These depend on whether we have MKL or Atlas numpy … … 114 100 # Spelled out to enable easier editing 115 101 excludes = [] 116 excludes.append('libzmq')117 excludes.append('IPython')118 excludes.append('PyQt4')119 excludes.append('PySide')120 excludes.append('Qt4')121 excludes.append('Tkinter')122 excludes.append('tk')123 excludes.append('tcl')124 # Seems we cannot build on Linux without bundling sip125 if not platform.system() == 'Linux':126 excludes.append('sip')127 excludes.append('sympy')128 excludes.append('pytz')129 excludes.append('sklearn')130 excludes.append('zmq')131 102 132 103 # Need to explicitly exclude sasmodels here!! … … 138 109 'sasmodels.core', 139 110 'pyopencl', 140 'tinycc' 111 'tinycc', 112 'SocketServer' 141 113 ] 142 114
Note: See TracChangeset
for help on using the changeset viewer.