aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-02-19 19:00:05 +0000
committertom christie tom@tomchristie.com2011-02-19 19:00:05 +0000
commitded60f53089566835fc1d17880c602fb34a2d243 (patch)
treeca36a8cb6a2ed0fb872857b3d4ed2feb167ab6ec
parent114738ca721b3fd90cb0b00b4fde3b61d3bd93dc (diff)
downloaddjango-rest-framework-ded60f53089566835fc1d17880c602fb34a2d243.tar.bz2
setup.py
-rw-r--r--.hgignore1
-rw-r--r--setup.py11
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
+)
+