Opened 3 years ago
Last modified 15 months ago
#29013 closed enhancement
In a python3 build, install all Python packages into a venv — at Version 1
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.4 |
Component: | build | Keywords: | sd111 |
Cc: | dimpase, jdemeyer, embray, vbraun, jhpalmieri | Merged in: | |
Authors: | Matthias Koeppe | Reviewers: | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
We propose to create a venv (https://docs.python.org/3/library/venv.html) at $SAGE_LOCAL/lib/sage/venv/sage/
,
to activate the venv in the sage-env
script, and to install all Python packages (including sagelib
) into this venv.
This is preparation for #27824, in which the system's python3 will be used when available.
Note, the proposal is to use venv
(new since Python 3.3), not virtualenv
. So this change will be limited to Python 3 builds of Sage.
Note: See
TracTickets for help on using
tickets.