src-d / lookout-sdk

SDK for lookout analyzers
Apache License 2.0
4 stars 11 forks source link

lookout.sdk python package not in the same namespace with lookout.style and lookout.core #48

Closed zurk closed 5 years ago

zurk commented 5 years ago

The problem is that there is no namespace_packages defined in setup(...) call in setup.py. It is easy to fix.

How to reproduse: install style-analyzer: pip3 install style-analyzer and run

>>> import lookout.core
>>> import lookout.style
>>> import lookout.sdk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'lookout.sdk'

but lookout-sdk, as well as lookout-sdk-ml, are installed as dependencies.