fix setup and add tox with pep8

This commit is contained in:
Dmitry Shulyak 2013-09-11 14:25:18 +03:00
parent 013f67b941
commit 82a19ce559
3 changed files with 15 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.idea
*.egg-info
dist
*.pyc
*.pyc
.tox

View File

@ -17,7 +17,7 @@ requirements = [
'nose==1.3.0',
'oslo.config==1.1.1',
'paramiko==1.10.1',
'pbr==0.5.17',
'pbr>=0.5.21,<1.0',
'pika==0.9.13',
'prettytable==0.7.2',
'pyOpenSSL==0.13',
@ -37,7 +37,7 @@ requirements = [
'testresources==0.2.7',
'warlock==1.0.1',
'wsgiref==0.1.2',
'yaml==3.10'
'pyyaml==3.10'
]

11
tox.ini Normal file
View File

@ -0,0 +1,11 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = pep8
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .