Skip to content

Commit

Permalink
Added tox
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Sep 23, 2010
1 parent 1abaecd commit b9bc413
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,8 +1,10 @@
.ropeproject
.tox
docs/_build
logbook/_speedups.c
logbook/_speedups.so
Logbook.egg-info
dist
*.pyc
env
env*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -6,7 +6,7 @@ clean-pyc:
find . -name '*~' -exec rm -f {} +

test:
@python test_logbook.py --verbose
@python setup.py test

bench:
@python benchmark/run.py
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Expand Up @@ -111,13 +111,12 @@ def run_setup(with_binary):
author_email='armin.ronacher@active-4.com',
description='A logging replacement for Python',
long_description=__doc__,
packages=['logbook'],
packages=['logbook', 'logbook.testsuite'],
zip_safe=False,
platforms='any',
tests_require='''
SQLAlchemy>=0.6
''',
test_suite='test_logbook',
cmdclass=cmdclass,
features=features,
**extra
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
@@ -0,0 +1,6 @@
[tox]
envlist=py25,py26,py27,py31

[testenv]
deps=SQLAlchemy
commands=make test

0 comments on commit b9bc413

Please sign in to comment.