Skip to content
Snippets Groups Projects
Commit 46c42b43 authored by Pavel KORSHUNOV's avatar Pavel KORSHUNOV
Browse files

pkg_resources is replaces with pkgutil

parent 1fe1ffc6
No related branches found
No related tags found
No related merge requests found
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
__import__('pkg_resources').declare_namespace(__name__)
# see https://docs.python.org/3/library/pkgutil.html
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
#see http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
__import__('pkg_resources').declare_namespace(__name__)
# see https://docs.python.org/3/library/pkgutil.html
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
......@@ -37,10 +37,7 @@ setup(
setup_requires = build_requires,
install_requires = build_requires,
namespace_packages=[
"bob",
"bob.learn",
],
ext_modules = [
Extension("bob.learn.mlp.version",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment