Initial commit

Change-Id: I68b0b085a7a65f1db956149b772df5c8b25dc883
This commit is contained in:
Lakshmi N Sampath 2014-03-10 09:56:04 -07:00
parent fed799bd04
commit ea11cd5ee3
9 changed files with 141 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

2
doc/README.rst Normal file
View File

@ -0,0 +1,2 @@
Documentation
=============

0
graffiti/__init__.py Normal file
View File

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

44
setup.cfg Normal file
View File

@ -0,0 +1,44 @@
[metadata]
name = graffiti
summary = Cloud Capability service for OpenStack
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://www.openstack.org/
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
[files]
packages =
graffiti
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
[compile_catalog]
directory = graffiti/locale
domain = graffiti
[update_catalog]
domain = graffiti
output_dir = graffiti/locale
input_file = graffiti/locale/graffiti.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = graffiti/locale/graffiti.pot

22
setup.py Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
setup_requires=['pbr'],
pbr=True)

10
test-requirements.txt Normal file
View File

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

2
tools/README.rst Normal file
View File

@ -0,0 +1,2 @@
Files in this directory are general developer tools or examples of how
to do certain activities.

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