mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-27 13:24:26 +03:00
Add utils to setup.py - see if the examples tests now pass
This commit is contained in:
parent
75cc1eb2a8
commit
3470134373
6
setup.py
6
setup.py
|
@ -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)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user