run testsuite via setuptools

pull/80/merge
Martin Zimmermann 10 years ago
parent 0233619d35
commit b199651548

@ -43,8 +43,11 @@ coverage: $(ISSO_PY_SRC)
nosetests --with-doctest --with-coverage --cover-package=isso \
--cover-html isso/ specs/
test: $($ISSO_PY_SRC)
python setup.py nosetests
clean:
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

@ -0,0 +1,2 @@
[nosetests]
with-doctest=1

@ -40,5 +40,5 @@ setup(
entry_points={
'console_scripts':
['isso = isso:main'],
},
}
)

@ -23,6 +23,6 @@ deps =
deps =
nose
commands =
nosetests --with-doctest isso/ specs/
python setup.py nosetests
install_command =
pip install --allow-external ipaddr --allow-unverified ipaddr {opts} {packages}

Loading…
Cancel
Save