Changes in / [54a2c927:0b709f2c] in sasview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/sasview.py
rd85c194 r558d64e 79 79 #wxcruft.trace_new_id() 80 80 81 # The below will make sure that sasview application uses the matplotlib font 82 # bundled with sasview. 83 if hasattr(sys, 'frozen'): 84 mplconfigdir = os.path.join(os.path.expanduser("~"), '.matplotlib') 85 if not os.path.exists(mplconfigdir): 86 os.mkdir(mplconfigdir) 87 os.environ['MPLCONFIGDIR'] = mplconfigdir 88 reload(sys) 89 sys.setdefaultencoding("iso-8859-1") 81 #Always use private .matplotlib setup to avoid conflicts with other 82 #uses of matplotlib 83 mplconfigdir = os.path.join(os.path.expanduser("~"),'.sasview','.matplotlib') 84 if not os.path.exists(mplconfigdir): 85 os.mkdir(mplconfigdir) 86 os.environ['MPLCONFIGDIR'] = mplconfigdir 87 reload(sys) 88 sys.setdefaultencoding("iso-8859-1") 90 89 from sas.sasgui.guiframe import gui_manager 91 90 from sas.sasgui.guiframe.gui_style import GUIFRAME -
src/sas/sasgui/guiframe/CategoryInstaller.py
rd85c194 r1ca0ac0 176 176 json.dump( master_category_dict, 177 177 open(serialized_file, 'wb') ) 178 179 try:180 #It happens only in source environment181 shutil.copyfile(serialized_file, default_file)182 except:183 pass184
Note: See TracChangeset
for help on using the changeset viewer.