Adding some packeges to pip requirements

Updated .gitignore
Added .gitreview, tox.ini
Change-Id: Ief3ab14f47e1ace57cdaa5f60018b302fda56564
This commit is contained in:
Ekaterina Fedorova 2013-05-15 19:15:49 +04:00
parent d15afbe3aa
commit c262bf85ee
4 changed files with 66 additions and 2 deletions

3
.gitignore vendored
View File

@ -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
doc/source/api

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/murano-dashboard.git

View File

@ -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
requests==0.14.2
python-glanceclient
python-novaclient
python-quantumclient
python-swiftclient
django_openstack_auth

53
tox.ini Normal file
View File

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