Skip to content

Commit

Permalink
Add support for testing via setuptools using Mezzanine's bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcd committed Aug 2, 2014
1 parent 88543f2 commit 67c46eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from __future__ import unicode_literals

from mezzanine.bin.runtests import main as _main

main = lambda: _main("cartridge")
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
zip_safe=False,
include_package_data=True,
packages=find_packages(),
test_suite="runtests.main",
tests_require=["pyflakes==0.6.1", "pep8==1.4.1"],

install_requires=[
"mezzanine >= 3.1",
Expand Down

0 comments on commit 67c46eb

Please sign in to comment.