From ded60f53089566835fc1d17880c602fb34a2d243 Mon Sep 17 00:00:00 2001 From: tom christie tom@tomchristie.com Date: Sat, 19 Feb 2011 19:00:05 +0000 Subject: setup.py --- .hgignore | 1 + setup.py | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.hgignore b/.hgignore index 170d72d9..6f1ec71f 100644 --- a/.hgignore +++ b/.hgignore @@ -8,6 +8,7 @@ docs/build html examples/media/pygments/* examples/media/objectstore/* +build/* .project .pydevproject .settings diff --git a/setup.py b/setup.py index 8225e98b..0015f0d9 100644 --- a/setup.py +++ b/setup.py @@ -12,9 +12,11 @@ setup( description = "A lightweight REST framework for Django.", author = 'Tom Christie', author_email = 'tom@tomchristie.com', - packages = ['djangorestframework'], - include_package_data = True, - zip_safe = False, + packages = ['djangorestframework', + 'djangorestframework.templatetags', + 'djangorestframework.tests'], + package_dir={'djangorestframework': 'djangorestframework'}, + package_data = {'djangorestframework': ['templates/*', 'static/*']}, classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', @@ -25,4 +27,5 @@ setup( 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', ] -) \ No newline at end of file +) + -- cgit v1.2.3