Changeset 46119c2 in sasview


Ignore:
Timestamp:
Dec 3, 2018 12:20:33 AM (5 years ago)
Author:
wojciech
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1249
Children:
1342f6a
Parents:
175b83f
Message:

cleaning up setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r952ea1f r46119c2  
    5555CURRENT_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 
    5656SASVIEW_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) 
    7657 
    7758 
Note: See TracChangeset for help on using the changeset viewer.