Added tox.ini + setup.py

Change-Id: I8aae9f9cea299a451e0d1d16588c8584e688bfd0
This commit is contained in:
aviau 2014-08-11 14:30:42 -04:00
parent 133a48abbe
commit 566f60e597
6 changed files with 31 additions and 0 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# documentation # documentation
doc/build doc/build
# tests
.tox

0
requirements.txt Normal file
View File

4
setup.cfg Normal file
View File

@ -0,0 +1,4 @@
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1

3
setup.py Normal file
View File

@ -0,0 +1,3 @@
import setuptools
setuptools.setup()

View File

@ -2,3 +2,5 @@ sphinxcontrib-pecanwsme>=0.8
sphinxcontrib-httpdomain sphinxcontrib-httpdomain
wsme wsme
oslosphinx oslosphinx
nose
flake8

19
tox.ini Normal file
View File

@ -0,0 +1,19 @@
[tox]
minverson = 1.6
skipsdist = True
envlist = py27, pep8
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
exclude = .tox