I have a very narrow techical question.  I am hoping for a narrow technical 
answer, preferably from someone who was involved in designing the Sage venv.

QUESTION: Why doesn't the Sage venv contain a pyvenv.cfg file?

When you read PEP 405 <https://peps.python.org/pep-0405/> you learn that 
the pyvenv.cfg file is what makes a directory be a venv.  For example:

"Thus, a Python virtual environment in its simplest form would consist of 
nothing more than a copy or symlink of the Python binary accompanied by a 
pyvenv.cfg file and a site-packages directory."

In addition to identifying the directory as being a venv, the pyvenv.cfg 
file controls how the sys.prefix is configured when the python binary in 
the venv starts up.

- Marc

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/38d53fe1-8db3-4aa5-8ae7-b7803cbe96f8n%40googlegroups.com.

Reply via email to