diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-05-16 10:26:54 -0700 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-06-03 18:44:17 -0400 |
commit | fc930eb91d5e113f20380cf8dbefbde1c8df972d (patch) | |
tree | fa1c1b99e9d806dad80bd7abf48019a6c8c4e74c /setup.py | |
parent | 187756d4b8b19058c2f5678f994c841cf205da74 (diff) | |
download | trove-fc930eb91d5e113f20380cf8dbefbde1c8df972d.tar.gz |
Migrate to pbr.
Fixes bug 1179007
Change-Id: If7c187f3b4833bdd7f2c0632c061afdcacb9832f
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 61 |
1 files changed, 14 insertions, 47 deletions
@@ -1,54 +1,21 @@ -# vim: tabstop=4 shiftwidth=4 softtabstop=4 - -# 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 +#!/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 +# 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. +# 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 gettext import setuptools -from reddwarf.openstack.common import setup - - -gettext.install('reddwarf', unicode=1) - -requires = setup.parse_requirements() -depend_links = setup.parse_dependency_links() - setuptools.setup( - name='reddwarf', - version=setup.get_version('reddwarf'), - description='DBaaS services for Openstack', - author='OpenStack', - author_email='openstack@lists.launchpad.net', - url='https://github.com/stackforge/reddwarf', - cmdclass=setup.get_cmdclass(), - packages=setuptools.find_packages(exclude=['bin']), - include_package_data=True, - install_requires=requires, - dependency_links=depend_links, - setup_requires=['setuptools-git>=0.4'], - test_suite='nose.collector', - classifiers=[ - 'Development Status :: 4 - Beta', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 2.6', - 'Environment :: No Input/Output (Daemon)', - ], - scripts=['bin/reddwarf-api', - 'bin/reddwarf-server', - 'bin/reddwarf-taskmanager', - 'bin/reddwarf-mgmt-taskmanager', - 'bin/reddwarf-manage', - ], - py_modules=[], -) + setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.10,<0.6'], + d2to1=True) |