Paul Belanger 688f1e329c VersionInfo for pbr needs to be package name
This fixes a bug in which we incorrectly passed the wrong package name
to pbr.  This will fix:

  Exception: Versioning for this project requires either an sdist
  tarball, or access to an upstream git repository. Are you sure that
  git is installed?

Change-Id: Ib2e83e3fb5c6dbc7c4788e646edf667f31c505b4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-21 11:27:08 -04:00

18 lines
650 B
Python

# Copyright 2015 Red Hat, Inc.
#
# 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.
from pbr.version import VersionInfo
version_info = VersionInfo('grafyaml')