remove egg test
eggs aren't supported, and Python 3.12 removes setuptools
This commit is contained in:
parent
97c830190f
commit
1d7281fe07
3 changed files with 1 additions and 56 deletions
|
|
@ -865,7 +865,7 @@ def _find_package_path(import_name):
|
|||
if hasattr(loader, "get_filename"):
|
||||
filename = loader.get_filename(root_mod_name)
|
||||
elif hasattr(loader, "archive"):
|
||||
# zipimporter's loader.archive points to the .egg or .zip file.
|
||||
# zipimporter's loader.archive points to the .zip file.
|
||||
filename = loader.archive
|
||||
else:
|
||||
# At least one loader is missing both get_filename and archive:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue