From 4a0c6fbed0efc535a4ce81ce108a4906095bb539 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 28 Oct 2022 09:42:51 +0200 Subject: [PATCH] from importlib import reload for Python 3 (#448) --- bootstrap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap.py b/bootstrap.py index 778fd16..36c3155 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -88,6 +88,8 @@ except ImportError: ez["use_setuptools"](**setup_args) if to_reload: + from importlib import reload + reload(pkg_resources) import pkg_resources