fix python packaging

After the split, it is necessary to make the metadata that is used to
generate the egg name reflect that this repo is housing kuryr-lib and
not kuryr. Also, since the versioning is handled by pbr by checking
tags, I removed that field so the egg has also the good version number.

Change-Id: Ic4cf2aea9f90c68de649f566e0c3d7cd6abaab2c
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
Antoni Segura Puimedon 2016-08-18 03:44:08 +02:00
parent 0a753b7421
commit 2c443e5122
No known key found for this signature in database
GPG Key ID: 2329618D2967720A
3 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,17 @@
# 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 pbr.version
__version__ = pbr.version.VersionInfo(
'kuryr-lib').version_string()

View File

@ -14,4 +14,4 @@
import pbr.version
version_info = pbr.version.VersionInfo('kuryr')
version_info = pbr.version.VersionInfo('kuryr-lib')

View File

@ -1,7 +1,6 @@
[metadata]
name = kuryr
version = 0.1.0
summary = Docker libnetwork driver for OpenStack Neutron
name = kuryr-lib
summary = Kuryr shared config and utilities
description-file =
README.rst
author = OpenStack