imp is deprecated in favor of importlib. setup.py uses imp.
Steps to reproduce / 再現方法
Run python setup.py.
environments:
$ python setup.py --version
setup.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
10.10.0
Expected behavior / 期待される挙動
No warning are emitted.
Actual behavior / 実際の挙動
$ python setup.py
setup.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Summary / 概要
imp
is deprecated in favor ofimportlib
.setup.py
usesimp
.Steps to reproduce / 再現方法
Run
python setup.py
.environments:
Expected behavior / 期待される挙動
No warning are emitted.
Actual behavior / 実際の挙動
Other notes / その他