Add tox.ini for easier with several virtual environments

This commit is contained in:
Sascha Peilicke
2013-07-19 11:09:30 +02:00
parent 6d52e2927d
commit 5f49874852
2 changed files with 11 additions and 0 deletions

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
ply

10
tox.ini Normal file
View File

@@ -0,0 +1,10 @@
[tox]
envlist = py26,py27,pep8
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = python lesscpy/test/__main__.py
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --ignore=E501 --exclude=.venv,.tox,dist,doc lesscpy