Having all the console scripts in one file means that we always pull
in all the dependencies. This presents a problem in downstream packaging,
for example, a distro alarm subpackage required pymongo dependencies
installed, even if not used.
This patch separates the console scripts into a 'cmd' module, the
way Nova does it. Eventlet monkey patching is done in the module's
__init__.py file.
Co-Authored-By: Mehdi Abaakouk <email address hidden>
Closes-bug: #1317210
Change-Id: I83020b13670928fd0d3046d2d2a493b11fe81d61
Reviewed: https:/ /review. openstack. org/108294 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=ab0c18e5d40 74085e2006e3dae c902c018a23b8a
Committed: https:/
Submitter: Jenkins
Branch: master
commit ab0c18e5d407408 5e2006e3daec902 c018a23b8a
Author: Nejc Saje <email address hidden>
Date: Mon Jul 21 09:06:36 2014 +0200
Separate the console scripts
Having all the console scripts in one file means that we always pull
in all the dependencies. This presents a problem in downstream packaging,
for example, a distro alarm subpackage required pymongo dependencies
installed, even if not used.
This patch separates the console scripts into a 'cmd' module, the
way Nova does it. Eventlet monkey patching is done in the module's
__init__.py file.
Co-Authored-By: Mehdi Abaakouk <email address hidden> fd0d3046d2d2a49 3b11fe81d61
Closes-bug: #1317210
Change-Id: I83020b13670928