Initial commit

Change-Id: Ib973849a591f02f82c143f8e2444c62d977e5c6f
This commit is contained in:
Lakshmi N Sampath 2014-03-10 09:56:04 -07:00
parent fed799bd04
commit ee2a8a7a7b
4 changed files with 73 additions and 0 deletions

14
README.rst Normal file
View File

@ -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

11
requirements.txt Normal file
View File

@ -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

12
test-requirements.txt Normal file
View File

@ -0,0 +1,12 @@
# 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
mox>=0.5.3
MySQL-python
psycopg2
sphinx>=1.1.2,<1.2

36
tox.ini Normal file
View File

@ -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-*