Skip to content

Commit

Permalink
Set multipath to true for site directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongrout committed Sep 27, 2022
1 parent 236dd7c commit e43a162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyter_core/paths.py
Expand Up @@ -110,7 +110,7 @@ def jupyter_config_dir():
return env["JUPYTER_CONFIG_DIR"]

if use_platform_dirs():
return platformdirs.user_config_dir("Jupyter", False)
return platformdirs.user_config_dir("Jupyter", appauthor=False)

home_dir = get_home_dir()
return pjoin(home_dir, ".jupyter")
Expand Down Expand Up @@ -166,7 +166,7 @@ def jupyter_runtime_dir():


if use_platform_dirs():
SYSTEM_JUPYTER_PATH = [platformdirs.site_data_dir("Jupyter", False)]
SYSTEM_JUPYTER_PATH = platformdirs.site_data_dir("Jupyter", appauthor=False, multipath=True).split(os.pathsep)
else:
deprecation(
"Jupyter is migrating its paths to use standard platformdirs\n"
Expand Down Expand Up @@ -253,7 +253,7 @@ def jupyter_path(*subdirs):


if use_platform_dirs():
SYSTEM_CONFIG_PATH = [platformdirs.site_config_dir("Jupyter", False)]
SYSTEM_CONFIG_PATH = platformdirs.site_config_dir("Jupyter", appauthor=False, multipath=True).split(os.pathsep)
else:
if os.name == "nt":
programdata = os.environ.get("PROGRAMDATA", None)
Expand Down

0 comments on commit e43a162

Please sign in to comment.