Open rsjethani opened 8 years ago
Thank you for the reporting the issues and sorry for the late response. As @rsjethani said, "-" should not use in pkg name tree. However, in current source tree masakari-controller does not consider as a package and that a one reason why I intentionally avoid init.py directly under masakari-controller directory. Furthermore, current source set masakari-controller as the parent dir by adding it to sys.path before import the sub modules. This was not the best solution but the affordable solution at the time.
Changing the top level directory structure will effect to most of the modules and pkging methods. Though, we have lot of changes coming in on next release, and changing the directory structure is among them.
Just for create db issue, PR #42 will fix the create database issue.
@brocdeckard Thank you and please don't hesitate to raise issues if you have any problems or unclear points about masakari. I would be happy to help you out.
The character "-" in the name of a pyhon package is invalid. we get import error while creating database:
Also masakari-controller does not contain init.py so as to be recognized as a package.
IMO directory structure should be like:
and so on.