From 213e7bf0cc6c2c2bf519859f2928984379502011 Mon Sep 17 00:00:00 2001 From: Dina Belova Date: Mon, 21 Oct 2013 20:46:03 +0400 Subject: [PATCH] Rename climate.cmd.climate_* to climate.cmd.* Also add __init__ to climate.cmd to let console_scripts work Change-Id: I2f83738c7e73ef08b5f7e9a67ebf2c4d18409c6c --- climate/cmd/__init__.py | 14 ++++++++++++++ ...ate_rpc_zmq_receiver.py => rpc_zmq_receiver.py} | 0 climate/cmd/{climate_scheduler.py => scheduler.py} | 0 setup.cfg | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 climate/cmd/__init__.py rename climate/cmd/{climate_rpc_zmq_receiver.py => rpc_zmq_receiver.py} (100%) rename climate/cmd/{climate_scheduler.py => scheduler.py} (100%) diff --git a/climate/cmd/__init__.py b/climate/cmd/__init__.py new file mode 100644 index 00000000..e3f3e8d4 --- /dev/null +++ b/climate/cmd/__init__.py @@ -0,0 +1,14 @@ +# Copyright (c) 2013 Mirantis Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/climate/cmd/climate_rpc_zmq_receiver.py b/climate/cmd/rpc_zmq_receiver.py similarity index 100% rename from climate/cmd/climate_rpc_zmq_receiver.py rename to climate/cmd/rpc_zmq_receiver.py diff --git a/climate/cmd/climate_scheduler.py b/climate/cmd/scheduler.py similarity index 100% rename from climate/cmd/climate_scheduler.py rename to climate/cmd/scheduler.py diff --git a/setup.cfg b/setup.cfg index b4925e6e..2730e772 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,8 +28,8 @@ packages = [entry_points] console_scripts = - climate-scheduler=climate.cmd.climate_scheduler:main - climate-rpc-zmq-receiver=climate.cmd.climate_rpc_zmq_receiver:main + climate-scheduler=climate.cmd.scheduler:main + climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main [build_sphinx] all_files = 1