aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authormarkotibold2011-03-15 22:40:30 +0100
committermarkotibold2011-03-15 22:40:30 +0100
commit9ba66a19f814484d86e6a750b27d47b2c4e21033 (patch)
tree8b7ee7525d446f0a02fbd138f4f021b24727e961 /setup.py
parentecb82b0318f5dae29f4a00416fb279dff549c3b1 (diff)
parent80e98de9337b7fd735729dbad09d3d629466719c (diff)
downloaddjango-rest-framework-9ba66a19f814484d86e6a750b27d47b2c4e21033.tar.bz2
Merge with a0fec27963ebb52d39cdad42d5a7fd428f989784
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 0015f0d9..4c5ff054 100644
--- a/setup.py
+++ b/setup.py
@@ -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)
+
+