diff options
| author | Tom Christie | 2011-03-13 17:08:46 +0000 |
|---|---|---|
| committer | Tom Christie | 2011-03-13 17:08:46 +0000 |
| commit | bed7d8c3a99425b8dfa5c5a9c6b1d49a46f5284f (patch) | |
| tree | d3ad16683a727ea847ca807660419e3f290929cb /setup.py | |
| parent | d6e7e95d95e7367f0d999c14d874d810a028a177 (diff) | |
| download | django-rest-framework-bed7d8c3a99425b8dfa5c5a9c6b1d49a46f5284f.tar.bz2 | |
tox, runcoverage, and setup.py test
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/usr/bin/env/python # -*- coding: utf-8 -*- -from distutils.core import setup +from setuptools import setup setup( name = "djangorestframework", @@ -14,9 +14,11 @@ setup( author_email = 'tom@tomchristie.com', packages = ['djangorestframework', 'djangorestframework.templatetags', - 'djangorestframework.tests'], + 'djangorestframework.tests', + 'djangorestframework.runtests'], package_dir={'djangorestframework': 'djangorestframework'}, package_data = {'djangorestframework': ['templates/*', 'static/*']}, + test_suite = 'djangorestframework.runtests.runtests.main', classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', @@ -29,3 +31,7 @@ setup( ] ) +import os, shutil +shutil.rmtree(os.path.join(os.path.dirname(__file__), 'djangorestframework.egg-info'), True) + + |
