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

Commit

Permalink
sage.env: Add SAGE_VENV
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Nov 12, 2020
1 parent 4577f37 commit c35c170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def var(key, *fallbacks, **kwds):
var('SAGE_VERSION_BANNER', version.banner)

# bunch of sage directories and files
var('SAGE_LOCAL', os.path.abspath(sys.prefix))
var('SAGE_VENV', os.path.abspath(sys.prefix))
var('SAGE_LOCAL', SAGE_VENV)
var('SAGE_ETC', join(SAGE_LOCAL, 'etc'))
var('SAGE_INC', join(SAGE_LOCAL, 'include'))
var('SAGE_SHARE', join(SAGE_LOCAL, 'share'))
Expand Down

0 comments on commit c35c170

Please sign in to comment.