INNER CODE UNIT · Python
available_install_directories
AUNaseef/protonup · protonup/api.py:52
def available_install_directories():
"""
List available install directories
Return Type: str[]
"""
available_dirs = []
for loc in POSSIBLE_INSTALL_LOCATIONS:
install_dir = os.path.expanduser(loc['install_dir'])
if os.path.exists(install_dir):
available_dirs.append(install_dir)
return available_dirs
def install_directory(target=None) -> str:
"""
Custom install directory
Return Type: str