forked from github.com/pypiserver
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