Add build files so this can actually be packaged

This commit is contained in:
Ben Nemec 2014-04-25 18:18:23 +00:00
parent 3c377b5b24
commit 379d7ad51c
3 changed files with 54 additions and 0 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
Standalone tools related to diskimage-builder
=============================================
These tools were originally part of the diskimage-builder project, but they have
uses outside of that project as well. Because disk space is at a premium in
base cloud images, pulling in all of diskimage-builder and its dependencies just to
use something like dib-run-parts is not desirable. This project allows consumers
to use the tools while pulling in only one small package with few/no additional
dependencies.

23
setup.cfg Normal file
View File

@ -0,0 +1,23 @@
[metadata]
name = dib-utils
version = 0.0.1
summary = Pieces of diskimage-builder that are useful without the rest of the project
description-file =
README.md
author = HP Cloud Services
author_email = openstack-dev@lists.openstack.org
license: Apache License (2.0)
home-page = https://git.openstack.org/cgit/openstack/dib-utils
classifier =
Development Status :: 3 - Alpha
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python :: 2.7
Environment :: Console
[files]
scripts =
bin/dib-run-parts
[wheel]
universal = 1

22
setup.py Executable 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'],
pbr=True)