Package with pbr

* generated tarball will contain all elements;
* tarball could be installed and all elements will be installed to the
  share/savanna-elements folder.

Change-Id: Ic80b045034850316b9b3263d132782afa560643b
This commit is contained in:
Sergey Lukjanov 2013-08-23 14:28:02 +04:00 committed by Sergey Lukjanov
parent d90cbdd9f7
commit 08b985d59e
5 changed files with 47 additions and 0 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ target
*.iws
*.db
.coverage
ChangeLog

View File

@ -1,4 +1,5 @@
Alexander Ignatov <aignatov@mirantis.com>
Denis Egorenko <degorenko@mirantis.com>
Ivan Berezovskiy <iberezovskiy@mirantis.com>
Matthew Farrellee <matt@redhat.com>
Nadya Privalova <nprivalova@mirantis.com>

2
MANIFEST.in Normal file
View File

@ -0,0 +1,2 @@
include README.md
graft elements

21
setup.cfg Normal file
View File

@ -0,0 +1,21 @@
[metadata]
name = savanna-extra
version = 0.3
summary = Extras for Savanna: elements, hadoop-swiftfs
description-file = README.rst
license = Apache Software License
classifiers =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = https://savanna.readthedocs.org
[files]
data_files =
share/savanna-elements = elements/*
[global]
setup-hooks = pbr.hooks.setup_hook

22
setup.py Normal file
View File

@ -0,0 +1,22 @@
#!/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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
setup_requires=['pbr>=0.5.21,<1.0'],
pbr=True)