cloudmesh/cloudmesh-cmd5

`cms info` does not list installed packages such as cloudmesh-common

Closed this issue · 1 comments

@classmethod
def modules(cls):
"""
Return a list of cloudmesh modules in the cloudmesh namespace.
Returns:
list: List of cloudmesh modules.
Example:
module_list = Plugin.modules()
"""
module_list = []
package = cloudmesh
for importer, modname, ispkg in pkgutil.walk_packages(
path=package.__path__, prefix=package.__name__ + ".", onerror=lambda x: None
):
module_list.append(modname)
return module_list

is cms info broken or is it just my environment?

$ cms info
* cloudmesh.admin
* cloudmesh.admin.__version__
* cloudmesh.admin.command
* cloudmesh.admin.command.admin
* cloudmesh.check
* cloudmesh.check.command
* cloudmesh.check.command.check
* cloudmesh.management
* cloudmesh.management.configuration
* cloudmesh.management.configuration.SSHkey
* cloudmesh.management.configuration.arguments
* cloudmesh.management.configuration.counter
* cloudmesh.management.configuration.generic_config
* cloudmesh.management.configuration.name
* cloudmesh.management.configuration.operatingsystem
* cloudmesh.management.script
* cloudmesh.mongo
* cloudmesh.mongo.CmDatabase
* cloudmesh.mongo.DataBaseDecorator
* cloudmesh.mongo.MongoDBController-new
* cloudmesh.mongo.MongoDBController
* cloudmesh.mongo.MongoDocker
* cloudmesh.mongo.WindowsService
* cloudmesh.provider
* cloudmesh.provider.command
* cloudmesh.provider.command.provider
* cloudmesh.provider.find
* cloudmesh.start
* cloudmesh.start.command
* cloudmesh.start.command.start
* cloudmesh.stop
* cloudmesh.stop.command
* cloudmesh.stop.command.stop
* cloudmesh.gui
* cloudmesh.gui.Gui
* cloudmesh.gui.__version__
* cloudmesh.gui.command
* cloudmesh.gui.command.gui
* cloudmesh.test
* cloudmesh.test.CloudmeshTest
* cloudmesh.test.__version__
* cloudmesh.test.command
* cloudmesh.test.command.test

this was not an issue with cmd5 but actually an issue with cloudmesh-installer using pip install -e . instead of make pip

cloudmesh/cloudmesh-installer@139dc6f