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:
Sean C. Farley 2012-02-01 14:43:11 -05:00
parent e715e92560
commit fa017e318b

View File

@ -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 = [