[issue41282] Deprecate and remove distutils

Ionel Cristian Mărieș report at bugs.python.org
Wed May 5 12:41:00 EDT 2021


Ionel Cristian Mărieș <contact at ionelmc.ro> added the comment:

Alright so to get all the package paths, included distro-managed ones would be this right?

for scheme in sysconfig.get_scheme_names():
 for name in ['purelib', 'platlib']:
  sysconfig.get_path(name, scheme)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41282>
_______________________________________


More information about the Python-bugs-list mailing list