From 7bcb7be2b39803af96a6aeeff9f882bba5648429 Mon Sep 17 00:00:00 2001 From: Rob Raymond Date: Tue, 29 Apr 2014 14:09:19 -0600 Subject: [PATCH] Initial installer work --- debian/changelog | 4 ++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 4 ++++ debian/rules | 4 ++++ setup.cfg | 33 +++++++++++++++++++++++++++++++++ setup.py | 5 +++++ 7 files changed, 66 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 setup.cfg create mode 100755 setup.py diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..f1f721a0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,4 @@ +monitoring-plugin (0.0.1) precise; urgency=low + + * Initial Package creation + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..92923cfc --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: monitoring +Section: python +Priority: optional +Maintainer: HPCloud Monitoring +Build-Depends: debhelper (>= 7), + python (>= 2.6.6-3~), + python-setuptools +Standards-Version: 3.9.3 +X-Python-Version: >= 2.6 + +Package: monitoring-plugin +Architecture: all +Section: python +Depends: ${misc:Depends}, ${python:Depends}, libpython2.7, python-pkg-resources, python-pbr, python-monclient +Description:Monitoring Plugin for Horizon diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..49d743bd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,4 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Files: * +Copyright: 2014, HP +License: Proprietary diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..4647c9c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..0f931575 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,33 @@ +[metadata] +name = monitoring-plugin +summary = OpenStack Monitoring Plugin for Horizon +description-file = README.md +author = OpenStack +author-email = rob.raymond@hp.com +home-page = https://git.hpcloud.net/mon/mon-ui +classifier = + Environment :: OpenStack + Intended Audience :: Information Technology + Intended Audience :: System Administrators + License :: OSI Approved :: Apache Software License + Operating System :: POSIX :: Linux + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 2.6 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.3 + +[files] +packages = monitoring + +[pbr] +autodoc_index_modules = True + +[build_sphinx] +all_files = 1 +build-dir = doc/build +source-dir = doc/source + +[wheel] +universal = 1 diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..ea19b03b --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +from setuptools import setup + +setup( + setup_requires=['pbr'], + pbr=True)