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

Commit c35c170

Browse files
author
Matthias Koeppe
committed
sage.env: Add SAGE_VENV
1 parent 4577f37 commit c35c170

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/env.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def var(key, *fallbacks, **kwds):
159159
var('SAGE_VERSION_BANNER', version.banner)
160160

161161
# bunch of sage directories and files
162-
var('SAGE_LOCAL', os.path.abspath(sys.prefix))
162+
var('SAGE_VENV', os.path.abspath(sys.prefix))
163+
var('SAGE_LOCAL', SAGE_VENV)
163164
var('SAGE_ETC', join(SAGE_LOCAL, 'etc'))
164165
var('SAGE_INC', join(SAGE_LOCAL, 'include'))
165166
var('SAGE_SHARE', join(SAGE_LOCAL, 'share'))

0 commit comments

Comments
 (0)