diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..2065a8d --- /dev/null +++ b/README.rst @@ -0,0 +1,14 @@ +Graffiti +========= + +**Graffiti** - Cloud Capability service for OpenStack + +Links +------------------ +Wiki - https://wiki.openstack.org/wiki/Graffiti + +Source code - https://github.com/stackforge/graffiti + +Feature tracker - https://blueprints.launchpad.net/graffiti + +Bug tracker - https://bugs.launchpad.net/graffiti diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8cbb7fe --- /dev/null +++ b/requirements.txt @@ -0,0 +1,11 @@ +iso8601>=0.1.4 +jsonschema>=1.3.0,!=1.4.0 +oslo.config>=1.2.0 +pbr>=0.5.21,<1.0 +python-keystoneclient>=0.3.2 +python-novaclient>=2.15.0 +python-glanceclient>=0.9.0 +Babel>=0.9.6 +PasteDeploy>=1.5.0 +Routes>=1.12.3 +WebOb>=1.2.3,<1.3 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 0000000..5ad87d2 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,10 @@ +# Install bounded pep8/pyflakes first, then let flake8 install +pep8==1.4.5 +pyflakes>=0.7.2,<0.7.4 +flake8==2.0 +hacking>=0.5.6,<0.8 + +coverage>=3.6 +mock>=1.0 +psycopg2 +sphinx>=1.1.2,<1.2 diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..049d411 --- /dev/null +++ b/tox.ini @@ -0,0 +1,36 @@ +[tox] +envlist = py26,py27,pep8 +minversion = 1.6 +skipsdist = True + +[testenv] +setenv = VIRTUAL_ENV={envdir} +usedevelop = True +install_command = pip install {opts} {packages} +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = + python setup.py testr --slowest --testr-args='{posargs:graffiti.tests.unittests}' + +[testenv:pep8] +commands = flake8 + +[testenv:venv] +commands = {posargs} + +[testenv:cover] +setenv = VIRTUAL_ENV={envdir} +commands = + python setup.py testr --coverage + +[testenv:docs] +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + sphinxcontrib-httpdomain +commands = python setup.py build_sphinx + +[flake8] +show-source = true +builtins = _ +exclude=.venv,.git,.tox,dist,openstack,*egg,tools,etc,build,doc +filename=*.py,graffiti-*