pleiszenburg / zugbruecke

Calling routines in Windows DLLs from Python scripts running under Linux, MacOS or BSD
https://zugbruecke.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
108 stars 11 forks source link

Search user site for dist-info, not just global #88

Closed melvyn2 closed 1 year ago

melvyn2 commented 1 year ago

Pip in many cases automatically installs packages to the user site-packages directory rather than the global one. site.getsitepackages() only returns global sites, so we also have to search the user site-packages dir (site.getusersitepackages()) to avoid missing dist-info errors.

Fixes an error similar to #81

s-m-e commented 1 year ago

Thanks! Merged into develop.