use tox
This commit is contained in:
parent
a55b155ef5
commit
8d7c85f13b
4 changed files with 21 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -42,4 +42,5 @@ MANIFEST
|
|||
None
|
||||
*.tar.gz
|
||||
.directory
|
||||
.python-version
|
||||
.python-version
|
||||
.tox/
|
||||
|
|
5
Makefile
Normal file
5
Makefile
Normal file
|
@ -0,0 +1,5 @@
|
|||
test:
|
||||
python setup.py test
|
||||
|
||||
clean:
|
||||
$(RM) -r build dist src/cchardet/*.cpp src/cchardet.egg-info
|
3
setup.cfg
Normal file
3
setup.cfg
Normal file
|
@ -0,0 +1,3 @@
|
|||
[nosetests]
|
||||
verbose=1
|
||||
nocapture=1
|
11
tox.ini
Normal file
11
tox.ini
Normal file
|
@ -0,0 +1,11 @@
|
|||
[tox]
|
||||
envlist = py27, py34, py35
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
make clean
|
||||
{envpython} setup.py nosetests
|
||||
deps =
|
||||
-U
|
||||
cython
|
||||
nose
|
Loading…
Reference in a new issue