1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-12-20 13:55:49 +01:00

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

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