swift3/setup.py
Nassim Babaci 75c1cc075d Add setup.cfg and pbr support.
This patch fix a bug when installing a swift3 on
devstack.

Because devstack uses pbr/requirements.txt to
sync global requirements, we need to add setup.cfg and
pbr support to swift3 so it can be installed on devstack.

This also allow to take advantage of the pbr facilities
(version number support, etc)

Change-Id: Id0179fad179efac5ba85bef7838365a4d304d196
2014-04-09 11:30:40 +02:00

22 lines
693 B
Python

#!/usr/bin/python
# Copyright (c) 2012-2014 OpenStack Foundation.
#
# 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
setuptools.setup(
setup_requires=['pbr'],
pbr=True)