ronaldoussoren / modulegraph2

Modulegraph2 is a library for creating and introspecting the dependency graph between Python modules.
MIT License
11 stars 8 forks source link

handle setuptools.extern.VendorImporter #12

Closed ronaldoussoren closed 4 years ago

ronaldoussoren commented 4 years ago

Setuptools uses setuptools.extern.VendorImported to deal with vendored packages. This confuses the graph builder.

See also #8 (some problem with PyTest)

ronaldoussoren commented 4 years ago

This will require special code, the VendorImporter is a very minimal implementation of PEP302 and does not implement the importlib loader/finder ABCs as used by modulegraph2.

ronaldoussoren commented 4 years ago

Fix in changeset ebf2fce155d722114955c306323933102535e0ad