Package with pbr.
Uses pbr-0.5.20 glob support to install elements, lib and scripts. Change-Id: Ie466e753f6e75a943ced1a2939c9bb27aec4a6b0
This commit is contained in:
parent
4651913e55
commit
7795c7b108
4
.gitignore
vendored
4
.gitignore
vendored
@ -7,3 +7,7 @@
|
|||||||
dist
|
dist
|
||||||
*.qcow2
|
*.qcow2
|
||||||
*.raw
|
*.raw
|
||||||
|
build
|
||||||
|
AUTHORS
|
||||||
|
ChangeLog
|
||||||
|
bin/diskimage_builder
|
@ -1,7 +1,10 @@
|
|||||||
recursive-include lib
|
|
||||||
include bin/disk-image-create
|
include bin/disk-image-create
|
||||||
include bin/disk-image-get-kernel
|
include bin/disk-image-get-kernel
|
||||||
|
include bin/element-info
|
||||||
include bin/ramdisk-image-create
|
include bin/ramdisk-image-create
|
||||||
recursive-include elements
|
graft lib
|
||||||
|
graft elements
|
||||||
|
graft docs
|
||||||
|
graft scripts
|
||||||
|
graft sudoers.d
|
||||||
include README.md
|
include README.md
|
||||||
recursive-include docs
|
|
||||||
|
34
setup.cfg
34
setup.cfg
@ -1,3 +1,37 @@
|
|||||||
|
[metadata]
|
||||||
|
name = diskimage-builder
|
||||||
|
version = 0.0.1
|
||||||
|
summary = Golden Disk Image builder.
|
||||||
|
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/diskimage-builder
|
||||||
|
classifier =
|
||||||
|
Development Status :: 3 - Alpha
|
||||||
|
License :: OSI Approved :: Apache Software License
|
||||||
|
Operating System :: POSIX :: Linux
|
||||||
|
Programming Language :: Python :: 2.7
|
||||||
|
Environment :: Console
|
||||||
|
|
||||||
|
[files]
|
||||||
|
packages =
|
||||||
|
diskimage_builder
|
||||||
|
scripts =
|
||||||
|
bin/disk-image-create
|
||||||
|
bin/disk-image-get-kernel
|
||||||
|
bin/element-info
|
||||||
|
bin/ramdisk-image-create
|
||||||
|
data_files =
|
||||||
|
share/diskimage-builder/elements = elements/*
|
||||||
|
share/diskimage-builder/lib = lib/*
|
||||||
|
share/diskimage-builder/scripts = scripts/*
|
||||||
|
|
||||||
|
[global]
|
||||||
|
setup-hooks =
|
||||||
|
pbr.hooks.setup_hook
|
||||||
|
|
||||||
[extract_messages]
|
[extract_messages]
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
|
27
setup.py
27
setup.py
@ -15,29 +15,6 @@
|
|||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README.md", 'rt') as readme:
|
|
||||||
readme_text = readme.read()
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='diskimage_builder',
|
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.10,<0.6'],
|
||||||
version='0.0.1',
|
d2to1=True)
|
||||||
description="""Build Disk Images for use on OpenStack Nova""",
|
|
||||||
long_description=readme_text,
|
|
||||||
license='Apache License (2.0)',
|
|
||||||
author='HP Cloud Services',
|
|
||||||
author_email='nobody@hp.com',
|
|
||||||
url='https://github.com/stackforge/diskimage-builder',
|
|
||||||
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 :: Python :: 2.7',
|
|
||||||
'Environment :: Console',
|
|
||||||
],
|
|
||||||
scripts=['bin/disk-image-create',
|
|
||||||
'bin/disk-image-get-kernel',
|
|
||||||
'bin/element-info',
|
|
||||||
'bin/ramdisk-image-create'],
|
|
||||||
py_modules=[])
|
|
||||||
|
Loading…
Reference in New Issue
Block a user