diff --git a/quince/__init__.py b/quince/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/quince/v1_impl.py b/quince/v1_impl.py new file mode 100644 index 0000000..dbb3d37 --- /dev/null +++ b/quince/v1_impl.py @@ -0,0 +1,19 @@ +# 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. + + +class Impl(object): + def get_events(self, resp): + return [] diff --git a/quince/v2_impl.py b/quince/v2_impl.py new file mode 100644 index 0000000..206f00e --- /dev/null +++ b/quince/v2_impl.py @@ -0,0 +1,20 @@ +# 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 v1_impl + + +class Impl(v1_impl.Impl): + pass diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..ac8b48f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,28 @@ +[metadata] +name = quince +version = 0.1 +author = Dark Secret Software Inc. +author-email = admin@darksecretsoftware.com +summary = Default implementation for Quincy +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/quince +keywords = + stacktach + rest + api + klugman + quincy + openstack +[files] +packages = + quince 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..910ec50 --- /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 quince []