embeded tests in setup.py

This commit is contained in:
Ales Zoulek 2010-08-25 14:58:09 +02:00
parent c36bf65ab1
commit 344ae771a8
2 changed files with 3 additions and 1 deletions

View file

@ -21,5 +21,6 @@ setup(
],
packages=find_packages(),
include_package_data=True,
test_suite='tests.runtests.runtests',
)

View file

@ -1,7 +1,8 @@
"""Borrowed from Carl Meyer's django-adminfiles."""
import os, sys
import os
import sys
parent = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, parent)