From 11de63a43c97fb12eb5ec10619748f2f14a61bb0 Mon Sep 17 00:00:00 2001 From: Sandy Walsh Date: Tue, 10 Jun 2014 15:40:24 -0300 Subject: [PATCH] getting started --- klugman/klugman.py | 26 ++++++++++++++++++++++++++ setup.cfg | 29 +++++++++++++++++++++++++++++ setup.py | 8 ++++++++ tox.ini | 10 ++++++++++ 4 files changed, 73 insertions(+) create mode 100644 klugman/klugman.py create mode 100644 setup.cfg create mode 100644 setup.py create mode 100644 tox.ini diff --git a/klugman/klugman.py b/klugman/klugman.py new file mode 100644 index 0000000..72e38ea --- /dev/null +++ b/klugman/klugman.py @@ -0,0 +1,26 @@ +# Copyright (c) 2014 Dark Secret Software Inc. +# +# 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. + +import argparse + + +parser = argparse.ArgumentParser(description='OpenStack.v3 Client.') + +parser.add_argument('url', dest='url', + help='StackTach.v3 host url') + +parser.add_argument('cmd', dest='cmd') + +args = parser.parse_args() diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..a4adaed --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +[metadata] +name = klugman +version = 0.1 +author = Dark Secret Software Inc. +author-email = admin@darksecretsoftware.com +summary = StackTach.v3 Client +description-file = README.md +license = Apache-2 +classifier = + Development Status :: 3 - Alpha + Environment :: Console + Intended Audience :: Developers + Intended Audience :: Information Technology + License :: OSI Approved :: Apache Software License + Operating System :: OS Independent + Programming Language :: Python + Topic :: Software Development :: Libraries :: Python Modules +home-page = https://github.com/StackTach/klugman +keywords = + stacktach + rest + api + client + klugman + quincy + openstack +[files] +packages = + klugman diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..aa2d8a0 --- /dev/null +++ b/setup.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python + +from setuptools import setup + +setup( + setup_requires=['pbr'], + pbr=True, +) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..d40579f --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py26,py27 + +[testenv] +deps = + coverage + nose + mock + +commands = nosetests -d -v --with-coverage --cover-inclusive --cover-package klugman []