witty-crayon-22786
03/23/2020, 11:29 PMpkg_resources
is used to "activate" from a list of wheels?enough-analyst-54434
03/24/2020, 12:01 AMpkg_resources.___init___.py
contains a global variable working_set
that is a default WorkingSet
object. When constructing a default WorkingSet
object, i.e.: passing in no search path, it uses sys.path
and it scans that whole path for distributions. This gets done before Pex gets a chance to scrub sys.path. As such the time to scan depends on how many packages are installed on sys.path n your machine.