Ignore:
Timestamp:
10/13/20 12:04:18 (5 years ago)
Author:
jdquinn
Message:

CHG: MATLAB -> Python; clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/dev/devpath.py

    r25198 r25684  
    1010if ISSM_DIR is None:
    1111    raise NameError('"ISSM_DIR" environment variable is empty! You should define ISSM_DIR in your .cshrc or .bashrc!')
    12 
    13 # NOTE: Now having user install netcdf4 via pip
    14 #
    15 # #Get paths to locally installed Python libraries
    16 # tpls = [
    17 #     'cftime', # Needed for netCDF4
    18 #     'netCDF4'
    19 # ]
    20 # for tpl in os.listdir(ISSM_DIR + '/externalpackages'):
    21 #     tpl_path = ISSM_DIR + '/externalpackages/' + tpl
    22 #     for dirpath, dirnames, filenames in os.walk(tpl_path):
    23 #         install_lib_path = dirpath + '/install/lib'
    24 #         for dirpath, dirnames, filenames in os.walk(install_lib_path):
    25 #             for dirname in dirnames:
    26 #                 if dirname in tpls:
    27 #                     dir = dirpath + '/' + dirname
    28 #                     for file in os.listdir(dir):
    29 #                         if file.find(".py") != -1:
    30 #                             if file.find(".pyc") == -1:
    31 #                                 if dirpath not in sys.path:
    32 #                                     sys.path.append(dirpath)
    3312
    3413#Go through src/m and append any directory that contains a *.py file to PATH
Note: See TracChangeset for help on using the changeset viewer.