Skip to content

Commit

Permalink
Add note to --debug text about JUPYTER_PLATFORM_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongrout committed Sep 27, 2022
1 parent 2f5d854 commit 7db89cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions jupyter_core/command.py
Expand Up @@ -231,6 +231,15 @@ def main():
if args.debug:
env = os.environ

if paths.use_platform_dirs():
print(
"JUPYTER_PLATFORM_DIRS is set to a true value, so we use platformdirs to find system-specific directories"
)
else:
print(
"JUPYTER_PLATFORM_DIRS is set to a false value, or is not set, so we use hardcoded legacy paths for system-specific directories"
)

if paths.prefer_environment_over_user():
print(
"JUPYTER_PREFER_ENV_PATH is set to a true value, or JUPYTER_PREFER_ENV_PATH is not set and we detected a virtual environment, making the environment-level path preferred over the user-level path for data and config"
Expand Down

0 comments on commit 7db89cc

Please sign in to comment.