Changes in / [f58a13a:1f153d9] in sasview
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r46119c2 r952ea1f 55 55 CURRENT_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 56 56 SASVIEW_BUILD = os.path.join(CURRENT_SCRIPT_DIR, "build") 57 58 # TODO: build step should not be messing with existing installation!! 59 sas_dir = os.path.join(os.path.expanduser("~"), '.sasview') 60 if os.path.isdir(sas_dir): 61 f_path = os.path.join(sas_dir, "sasview.log") 62 if os.path.isfile(f_path): 63 os.remove(f_path) 64 f_path = os.path.join(sas_dir, "categories.json") 65 if os.path.isfile(f_path): 66 os.remove(f_path) 67 f_path = os.path.join(sas_dir, 'config', "custom_config.py") 68 if os.path.isfile(f_path): 69 os.remove(f_path) 70 #f_path = os.path.join(sas_dir, 'plugin_models') 71 # if os.path.isdir(f_path): 72 # for f in os.listdir(f_path): 73 # if f in plugin_model_list: 74 # file_path = os.path.join(f_path, f) 75 # os.remove(file_path) 57 76 58 77
Note: See TracChangeset
for help on using the changeset viewer.