Add utils to setup.py - see if the examples tests now pass

This commit is contained in:
Tom Christie 2011-05-16 16:00:00 +01:00
parent 75cc1eb2a8
commit 3470134373

View File

@ -15,7 +15,8 @@ setup(
packages = ['djangorestframework', packages = ['djangorestframework',
'djangorestframework.templatetags', 'djangorestframework.templatetags',
'djangorestframework.tests', 'djangorestframework.tests',
'djangorestframework.runtests'], 'djangorestframework.runtests',
'djangorestframework.utils'],
package_dir={'djangorestframework': 'djangorestframework'}, package_dir={'djangorestframework': 'djangorestframework'},
package_data = {'djangorestframework': ['templates/*', 'static/*']}, package_data = {'djangorestframework': ['templates/*', 'static/*']},
test_suite = 'djangorestframework.runtests.runcoverage.main', test_suite = 'djangorestframework.runtests.runcoverage.main',
@ -31,7 +32,4 @@ setup(
] ]
) )
import os, shutil
shutil.rmtree(os.path.join(os.path.dirname(__file__), 'djangorestframework.egg-info'), True)