Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed some problems with packaging

  • Loading branch information...
commit dfc1d7bc2afaad2eab524397b4a4fcb68165e9eb 1 parent a714168
David Fischer authored
Showing with 7 additions and 5 deletions.
  1. +2 −1  MANIFEST.in
  2. +4 −1 example/settings.py
  3. +1 −3 setup.py
View
3  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
View
5 example/settings.py
@@ -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',
@@ -16,7 +18,7 @@
RPC4DJANGO_RESTRICT_RPCTEST = False
RPC4DJANGO_RESTRICT_REST = False
-DEBUG = False
+DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -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 = (
View
4 setup.py
@@ -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')
@@ -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'])],
Please sign in to comment.
Something went wrong with that request. Please try again.