Skip to content

Commit 0529647

Browse files
committed
Polish text around user site directories
1 parent 9318591 commit 0529647

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the `jupyter_core
1414
4.9 <https://github.com/jupyter/jupyter_core/milestone/21?closed=1>`__
1515
milestone on GitHub for the full list of pull requests and issues closed.
1616

17-
- Add Python site user base directory to config and data paths if ``site.ENABLE_USER_SITE`` is True (:ghpull:`242`)
17+
- Add Python site user base subdirectories to config and data user-level paths if ``site.ENABLE_USER_SITE`` is True. One way to disable these directory additions is to set the ``PYTHONNOUSERSITE`` environment variable. This location can be customized by setting the ``PYTHONUSERBASE`` environment variable. (:ghpull:`242`)
1818

1919

2020
4.8

jupyter_core/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def main():
261261
if site.ENABLE_USER_SITE:
262262
print(f"Python's site.ENABLE_USER_SITE is True, so we add the user site directory '{site.getuserbase()}'")
263263
else:
264-
print("Python's site.ENABLE_USER_SITE is False, so we do not add the Python site user directory")
264+
print(f"Python's site.ENABLE_USER_SITE is not True, so we do not add the Python site user directory '{site.getuserbase()}'")
265265

266266
# data path list
267267
if env.get('JUPYTER_PATH'):

0 commit comments

Comments
 (0)