mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-09-16 09:12:29 +03:00
Fix setup.py build with static/css directory
Exclude static/css from package_data since package_data does not handle the copying of subdirectories implicitly to fix the build.
This commit is contained in:
parent
e715e92560
commit
fa017e318b
4
setup.py
4
setup.py
|
@ -24,7 +24,9 @@ setup(
|
||||||
'djangorestframework.runtests',
|
'djangorestframework.runtests',
|
||||||
'djangorestframework.utils'],
|
'djangorestframework.utils'],
|
||||||
package_dir={'djangorestframework': 'djangorestframework'},
|
package_dir={'djangorestframework': 'djangorestframework'},
|
||||||
package_data = {'djangorestframework': ['templates/*', 'static/*']},
|
package_data = {'djangorestframework': ['templates/*', 'static/*',
|
||||||
|
'static/css/*']},
|
||||||
|
exclude_package_data = {'djangorestframework': ['static/css']},
|
||||||
test_suite = 'djangorestframework.runtests.runcoverage.main',
|
test_suite = 'djangorestframework.runtests.runcoverage.main',
|
||||||
install_requires=['URLObject>=0.6.0'],
|
install_requires=['URLObject>=0.6.0'],
|
||||||
classifiers = [
|
classifiers = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user