zaqar/setup.py
Flaper Fesp 7563c63c90 Implemented marconi-server entry point
This patch adds the first console_script for marconi server.

In order to use it it's enough to run setup.py either using develop or
install.

Side changes:
    The config now uses sys.argv[1:] if no custom cli args have been
    set.

Implements blueprint transport-base

Change-Id: I15732129d66b32fca2b818e9105b17f541094983
2013-04-05 16:12:17 +02:00

46 lines
1.5 KiB
Python
Executable File

#!/usr/bin/env python
# Copyright 2012 Managed I.T.
#
# Author: Kiall Mac Innes <kiall@managedit.ie>
#
# 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.
import setuptools
import __builtin__
__builtin__.__MARCONI_SETUP__ = True
from marconi.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
dependency_links = common_setup.parse_dependency_links()
setuptools.setup(
name='marconi',
version=common_setup.get_version('marconi'),
description='Message Bus for OpenStack',
license="Apache License (2.0)",
author='Kurt Griffiths',
author_email='kurt.griffiths@rackspace.com',
url='https://launchpad.net/marconi',
packages=setuptools.find_packages(exclude=['bin']),
include_package_data=True,
test_suite='nose.collector',
install_requires=requires,
dependency_links=dependency_links,
cmdclass=common_setup.get_cmdclass(),
entry_points={
'console_scripts':
['marconi-server = marconi.bin.server:run']
}
)