Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Do not add non-existing site_packages directory to PYTHONPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Oct 12, 2016
1 parent 1744c65 commit c79dfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/sage-env
Expand Up @@ -411,7 +411,7 @@ if [ "$PYTHONUSERBASE" = "" ]; then
fi

if [ -d "$SAGE_LOCAL/lib/python" ]; then
PYTHONPATH="$SAGE_LOCAL/lib/python:$SAGE_LOCAL/lib/python/site_packages"
PYTHONPATH="$SAGE_LOCAL/lib/python"
if [ -n "$SAGE_PATH" ]; then
PYTHONPATH="$SAGE_PATH:$PYTHONPATH"
fi
Expand Down

0 comments on commit c79dfb6

Please sign in to comment.