From 687e56b5c9f2ad56a62c3509f153b4254f7423f2 Mon Sep 17 00:00:00 2001 From: pendletongp Date: Thu, 2 Feb 2012 22:24:17 -0500 Subject: [PATCH] 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" --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 690a7e0fd..e04215948 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( 'djangorestframework.runtests', 'djangorestframework.utils'], package_dir={'djangorestframework': 'djangorestframework'}, - package_data = {'djangorestframework': ['templates/*', 'static/*']}, + package_data = {'djangorestframework': ['templates/*', 'static/*.*', 'static/css/*']}, test_suite = 'djangorestframework.runtests.runcoverage.main', install_requires=['URLObject>=0.6.0'], classifiers = [