from importlib import reload for Python 3 (#448)

This commit is contained in:
Christian Clauss 2022-10-28 09:42:51 +02:00 committed by GitHub
parent 0ba44b54f1
commit 4a0c6fbed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ except ImportError:
ez["use_setuptools"](**setup_args)
if to_reload:
from importlib import reload
reload(pkg_resources)
import pkg_resources