Changes in sasview/setup_exe.py [8b645cc:f36e01f] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/setup_exe.py
r8b645cc rf36e01f 62 62 sys.argv.remove('--extrapath') 63 63 except: 64 print 65 sys.exc_value 64 print("Error processing extra python path needed to build SasView\n %s" % \ 65 sys.exc_value) 66 66 67 67 … … 83 83 modulefinder.AddPackagePath(win32_folder, p) 84 84 for extra in ["win32com.shell", "win32com.adsi", "win32com.axcontrol", 85 "win32com.axscript", "win32com.bits", "win32com.ifilter", 86 "win32com.internet", "win32com.mapi", "win32com.propsys", 87 "win32com.taskscheduler"]: 88 89 __import__(extra) 90 m = sys.modules[extra] 91 for p in m.__path__[1:]: 92 modulefinder.AddPackagePath(extra, p) 85 "win32com.axscript", "win32com.bits", "win32com.ifilter", 86 "win32com.internet", "win32com.mapi", "win32com.propsys", 87 "win32com.taskscheduler"]: 88 __import__(extra) 89 m = sys.modules[extra] 90 for p in m.__path__[1:]: 91 modulefinder.AddPackagePath(extra, p) 93 92 94 93 except ImportError: … … 167 166 self.copyright = "copyright 2009 - 2016" 168 167 self.name = "SasView" 169 168 170 169 # 171 170 # Adapted from http://www.py2exe.org/index.cgi/MatPlotLib … … 236 235 data_files.append(('config', [f])) 237 236 f = 'local_config.py' 237 if os.path.isfile(f): 238 data_files.append(('.', [f])) 239 240 f = 'logging.ini' 238 241 if os.path.isfile(f): 239 242 data_files.append(('.', [f])) … … 337 340 ]) 338 341 packages.append('periodictable.core') # not found automatically 339 # packages.append('IPython')342 # packages.append('IPython') 340 343 includes = ['site', 'lxml._elementpath', 'lxml.etree'] 341 344 … … 370 373 other_resources = [(24, 1, manifest)], 371 374 dest_base = "SasView" 372 375 ) 373 376 374 377 # bundle_option = 2
Note: See TracChangeset
for help on using the changeset viewer.