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:
parent
0ba44b54f1
commit
4a0c6fbed0
@ -88,6 +88,8 @@ except ImportError:
|
||||
ez["use_setuptools"](**setup_args)
|
||||
|
||||
if to_reload:
|
||||
from importlib import reload
|
||||
|
||||
reload(pkg_resources)
|
||||
import pkg_resources
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user