Merge "make heat-manage a console_script entry point"

This commit is contained in:
Jenkins 2015-06-22 00:34:26 +00:00 committed by Gerrit Code Review
commit c0d32fd421
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,10 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import warnings
warnings.warn("DEPRECATED: This script is deprecated. Please use the "
"system level heat-manage binary", DeprecationWarning)
import os import os
import sys import sys

View File

@ -28,9 +28,11 @@ scripts =
bin/heat-engine bin/heat-engine
bin/heat-keystone-setup bin/heat-keystone-setup
bin/heat-keystone-setup-domain bin/heat-keystone-setup-domain
bin/heat-manage
[entry_points] [entry_points]
console_scripts =
heat-manage = heat.cmd.manage:main
oslo.config.opts = oslo.config.opts =
heat.common.config = heat.common.config:list_opts heat.common.config = heat.common.config:list_opts
heat.common.crypt = heat.common.crypt:list_opts heat.common.crypt = heat.common.crypt:list_opts