run testsuite via setuptools
This commit is contained in:
parent
0233619d35
commit
b199651548
5
Makefile
5
Makefile
@ -43,8 +43,11 @@ coverage: $(ISSO_PY_SRC)
|
|||||||
nosetests --with-doctest --with-coverage --cover-package=isso \
|
nosetests --with-doctest --with-coverage --cover-package=isso \
|
||||||
--cover-html isso/ specs/
|
--cover-html isso/ specs/
|
||||||
|
|
||||||
|
test: $($ISSO_PY_SRC)
|
||||||
|
python setup.py nosetests
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(MAN) $(CSS) $(ISSO_JS_DST) $(ISSO_CSS_DST)
|
rm -f $(MAN) $(CSS) $(ISSO_JS_DST) $(ISSO_CSS_DST)
|
||||||
|
|
||||||
.PHONY: clean site man init js css coverage
|
.PHONY: clean site man init js css coverage test
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -40,5 +40,5 @@ setup(
|
|||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts':
|
'console_scripts':
|
||||||
['isso = isso:main'],
|
['isso = isso:main'],
|
||||||
},
|
}
|
||||||
)
|
)
|
||||||
|
2
tox.ini
2
tox.ini
@ -23,6 +23,6 @@ deps =
|
|||||||
deps =
|
deps =
|
||||||
nose
|
nose
|
||||||
commands =
|
commands =
|
||||||
nosetests --with-doctest isso/ specs/
|
python setup.py nosetests
|
||||||
install_command =
|
install_command =
|
||||||
pip install --allow-external ipaddr --allow-unverified ipaddr {opts} {packages}
|
pip install --allow-external ipaddr --allow-unverified ipaddr {opts} {packages}
|
||||||
|
Loading…
Reference in New Issue
Block a user