Explicitly copy the css folder contents to avoid the following setup.py install error: "can't copy 'djangorestframework\static\css': doesn't exist or not a regular file"

This commit is contained in:
pendletongp 2012-02-02 22:24:17 -05:00
parent 0e3f1dd1f2
commit 687e56b5c9

View File

@ -24,7 +24,7 @@ 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/*']},
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 = [