Commit 2df2d5e2 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV

pkg_resources is replaces with pkgutil

parent a0ae416e
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # see https://docs.python.org/3/library/pkgutil.html
__import__('pkg_resources').declare_namespace(__name__) from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
...@@ -33,9 +33,7 @@ setup( ...@@ -33,9 +33,7 @@ setup(
setup_requires = build_requires, setup_requires = build_requires,
install_requires = build_requires, install_requires = build_requires,
namespace_packages=[
"bob",
],
ext_modules = [ ext_modules = [
Extension("bob.ap.version", Extension("bob.ap.version",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment