From c262bf85ee71f3d828815131bcca601133702030 Mon Sep 17 00:00:00 2001 From: Ekaterina Fedorova Date: Wed, 15 May 2013 19:15:49 +0400 Subject: [PATCH] Adding some packeges to pip requirements Updated .gitignore Added .gitreview, tox.ini Change-Id: Ief3ab14f47e1ace57cdaa5f60018b302fda56564 --- .gitignore | 3 ++- .gitreview | 4 ++++ tools/pip-requires | 8 ++++++- tox.ini | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 .gitreview create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 2480630a4..99604eaa4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .coverage* .noseids .venv +.idea coverage.xml pep8.txt pylint.txt @@ -16,4 +17,4 @@ docs/source/sourcecode build dist #Autogenerated Documentation -doc/source/api \ No newline at end of file +doc/source/api diff --git a/.gitreview b/.gitreview new file mode 100644 index 000000000..d02ca4918 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=review.openstack.org +port=29418 +project=stackforge/murano-dashboard.git diff --git a/tools/pip-requires b/tools/pip-requires index bba8dd729..294651602 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -3,4 +3,10 @@ Django>=1.4,<1.5 anyjson #Fix for bug https://bugs.launchpad.net/python-keystoneclient/+bug/1116740 backports.ssl_match_hostname -requests==0.14.2 \ No newline at end of file +requests==0.14.2 +python-glanceclient +python-novaclient +python-quantumclient +python-swiftclient +django_openstack_auth + diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..506c5abdf --- /dev/null +++ b/tox.ini @@ -0,0 +1,53 @@ +[tox] +envlist = py26,py27,pep8,pyflakes + +[testenv] +setenv = + VIRTUAL_ENV={envdir} + NOSE_WITH_OPENSTACK=1 + NOSE_OPENSTACK_COLOR=1 + NOSE_OPENSTACK_RED=0.05 + NOSE_OPENSTACK_YELLOW=0.025 + NOSE_OPENSTACK_SHOW_ELAPSED=1 + NOSE_OPENSTACK_STDOUT=1 + NOSE_XUNIT=1 +deps = + -r{toxinidir}/tools/pip-requires + -r{toxinidir}/tools/test-requires +commands = + +[testenv:integration] +commands = + +[testenv:cover] +setenv = NOSE_WITH_COVERAGE=1 + +[tox:jenkins] +downloadcache = ~/cache/pip + +[testenv:pep8] +deps = + flake8 + hacking +commands = + +[testenv:pyflakes] +deps = +commands = + +[testenv:venv] +commands = {posargs} + +[testenv:docs] +commands = + +[testenv:pylint] +commands = + +[flake8] +# H301 one import per line +# H302 import only modules +ignore = H301,H302 +show-source = true +builtins = _ +exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools