Closed
Description
For CPython 3.2 and later, site.py includes function getsitepackages()
, getuserbase()
and getusersitepackages()
- ref
The site module that virtualenv adds to a new environment does not include these, and so code that expects them will not work.
Though the docs say that the module-level variables may not be initialized until these methods are called, I don't see anything there that requires lazy initialization. I'd expect that simply returning the variables would be sufficient.
Metadata
Metadata
Assignees
Labels
No labels