Skip to content

Commit

Permalink
Fixed some problems with packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
David Fischer committed May 16, 2010
1 parent a714168 commit dfc1d7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
@@ -1,3 +1,4 @@
recursive-include docs *.html *.css
recursive-include rpc4django/templates/rpc4django *.html
recursive-include example *.py
recursive-include docs *.txt
include *.txt
5 changes: 4 additions & 1 deletion example/settings.py
Expand Up @@ -2,6 +2,8 @@

# Handle logging for this project
import logging
import os
import sys
logging.basicConfig(
level = logging.DEBUG,
format = '%(asctime)s %(levelname)s %(message)s',
Expand All @@ -16,7 +18,7 @@
RPC4DJANGO_RESTRICT_RPCTEST = False
RPC4DJANGO_RESTRICT_REST = False

DEBUG = False
DEBUG = True
TEMPLATE_DEBUG = DEBUG

ADMINS = (
Expand Down Expand Up @@ -97,6 +99,7 @@
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
os.path.abspath(os.path.join(os.path.dirname(__file__), 'templates')),
)

INSTALLED_APPS = (
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -74,8 +74,7 @@ def run(self):
Removes intermediate files
'''

self.remove('docs/index.html')
self.remove('docs/index.html.zip')
self.remove('docs/_build/html')
self.remove('dist')
self.remove('build')
self.remove('rpc4django.egg-info')
Expand Down Expand Up @@ -223,7 +222,6 @@ def finalize_options(self):
'rpc4django.tests.testmod',
'rpc4django.tests.testmod.testsubmod',
'rpc4django.templatetags',
'example',
],
data_files = [('rpc4django/templates/rpc4django',
['rpc4django/templates/rpc4django/rpcmethod_summary.html'])],
Expand Down

0 comments on commit dfc1d7b

Please sign in to comment.