Package with pbr

Uses pbr-0.5.20 glob support to install elements.

This packaging will facilitate tripleo-image-elements being
consumed by CI tooling, enabling tests which require customized
images.

Change-Id: Id0ce2f9954f487ef2375e51cc8287999b82396f2
This commit is contained in:
Steve Baker 2013-07-31 14:34:18 +12:00
parent fd57f5c8bb
commit 27dd19dac5
4 changed files with 29 additions and 35 deletions

3
.gitignore vendored
View File

@ -6,3 +6,6 @@
*.egg-info
dist
*.qcow2
build
AUTHORS
ChangeLog

View File

@ -1,3 +1,3 @@
recursive-include elements
include README.md
recursive-include docs
graft elements
graft docs

View File

@ -1,13 +1,24 @@
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = diskimage_builder/locale/diskimage_builder.pot
[metadata]
name = tripleo-image-elements
version = 0.0.1
summary = Disk image builder elements for deploying OpenStack.
description-file =
README.md
author = HP Cloud Services
author_email = openstack-dev@lists.openstack.org
license: Apache License (2.0)
home-page = https://github.com/stackforge/tripleo-image-elements
classifier =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Other
Environment :: Console
[update_catalog]
domain = diskimage_builder
output_dir = diskimage_builder/locale
input_file = diskimage_builder/locale/diskimage_builder.pot
[files]
data_files =
share/tripleo-image-elements = elements/*
[compile_catalog]
directory = diskimage_builder/locale
domain = diskimage_builder
[global]
setup-hooks =
pbr.hooks.setup_hook

View File

@ -15,26 +15,6 @@
import setuptools
with open("README.md", 'rt') as readme:
readme_text = readme.read()
setuptools.setup(
name='tripleo_image_elements',
version='0.0.1',
description="""Disk image elements for deploying OpenStack.""",
long_description=readme_text,
license='Apache License (2.0)',
author='HP Cloud Services',
author_email='nobody@hp.com',
url='https://github.com/stackforge/tripleo-image-elements',
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Other',
'Environment :: Console',
],
scripts=[],
py_modules=[])
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.10,<0.6'],
d2to1=True)