Added blazar as an alias package

Added blazar as an alias package of climate package. With this alias is
possible to rename imports in small patches that address only one or few
submodules. This will help the review process.
Modifications in setup.cfg:
    * Renamed some entries from climate to blazar
    * Added alias for console scripts

Change-Id: Idbca4873466a39e2077c91c09ef1f985cfed7654
Partial-Bug: #1311761
This commit is contained in:
Pablo Andres Fuente 2014-06-03 13:45:32 -03:00
parent 1493e2823f
commit 991e951c77
2 changed files with 13 additions and 2 deletions

5
blazar/__init__.py Normal file
View File

@ -0,0 +1,5 @@
import os
__path__ = [
os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))),
'climate')]

View File

@ -1,5 +1,5 @@
[metadata] [metadata]
name = climate name = blazar
summary = Reservation Service for OpenStack clouds summary = Reservation Service for OpenStack clouds
description-file = README.rst description-file = README.rst
license = Apache Software License license = Apache Software License
@ -16,7 +16,7 @@ classifiers =
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
author = OpenStack author = OpenStack
author_email = openstack-dev@lists.openstack.org author_email = openstack-dev@lists.openstack.org
home-page = https://launchpad.net/climate home-page = https://launchpad.net/blazar
[global] [global]
setup-hooks = pbr.hooks.setup_hook setup-hooks = pbr.hooks.setup_hook
@ -27,11 +27,17 @@ packages =
[entry_points] [entry_points]
console_scripts = console_scripts =
# Remove this alias when the rename to blazar is complete
climate-db-manage=climate.db.migration.cli:main climate-db-manage=climate.db.migration.cli:main
climate-api=climate.cmd.api:main climate-api=climate.cmd.api:main
climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main
climate-manager=climate.cmd.manager:main climate-manager=climate.cmd.manager:main
blazar-db-manage=climate.db.migration.cli:main
blazar-api=climate.cmd.api:main
blazar-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main
blazar-manager=climate.cmd.manager:main
climate.resource.plugins = climate.resource.plugins =
dummy.vm.plugin=climate.plugins.dummy_vm_plugin:DummyVMPlugin dummy.vm.plugin=climate.plugins.dummy_vm_plugin:DummyVMPlugin
physical.host.plugin=climate.plugins.oshosts.host_plugin:PhysicalHostPlugin physical.host.plugin=climate.plugins.oshosts.host_plugin:PhysicalHostPlugin