convert packaging to pbr

Change-Id: Idc85f3ae84de79b6f2303e3b76368a16ce9867be
This commit is contained in:
Doug Hellmann 2014-03-10 11:56:17 -07:00
parent 25dc0c0335
commit 51e5a082bf
5 changed files with 81 additions and 38 deletions

4
.gitignore vendored
View File

@ -28,3 +28,7 @@ pip-log.txt
# Packaging output
*.deb
# pbr output
AUTHORS
ChangeLog

8
requirements.txt Normal file
View File

@ -0,0 +1,8 @@
netaddr>=0.7.5
httplib2>=0.7.2
python-neutronclient>=2.1
oslo.config
kombu>=2.4.8
webob
python-novaclient
cliff

View File

@ -1,3 +1,51 @@
[metadata]
name = akanda-rug
summary = Akanda Router Update Generator manages tenant routers
description-file =
README.rst
author = DreamHost
author-email = dev-community@dreamhost.com
home-page = http://github.com/dreamhost/akanda-rug
classifier =
Environment :: OpenStack
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: BSD License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
[files]
packages =
akanda
akanda.rug
namespace_packages =
akanda
[global]
setup-hooks =
pbr.hooks.setup_hook
[entry_points]
console_scripts =
akanda-rug-service=akanda.rug.main:main
akanda-debug-router=akanda.rug.debug:debug_one_router
rug-ctl=akanda.rug.cli.main:main
akanda.rug.cli =
router debug=akanda.rug.cli.router:RouterDebug
router manage=akanda.rug.cli.router:RouterManage
tenant debug=akanda.rug.cli.tenant:TenantDebug
tenant manage=akanda.rug.cli.tenant:TenantManage
workers debug=akanda.rug.cli.worker:WorkerDebug
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
[nosetests]
verbosity = 2
detailed-errors = 1

View File

@ -1,39 +1,22 @@
from setuptools import setup, find_packages
#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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.
setup(
name='akanda-rug',
version='0.1.6',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='dev-community@dreamhost.com',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-neutronclient>=2.1',
'oslo.config',
'kombu>=2.4.8',
'webob',
'python-novaclient',
'cliff',
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
'akanda-debug-router=akanda.rug.debug:debug_one_router',
'rug-ctl=akanda.rug.cli.main:main',
],
'akanda.rug.cli': [
'router debug=akanda.rug.cli.router:RouterDebug',
'router manage=akanda.rug.cli.router:RouterManage',
'tenant debug=akanda.rug.cli.tenant:TenantDebug',
'tenant manage=akanda.rug.cli.tenant:TenantManage',
'workers debug=akanda.rug.cli.worker:WorkerDebug',
],
},
)
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
setup_requires=['pbr'],
pbr=True)