1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Description: Disable pycco
pycco is not available on Debian. Disable it.
Author: Jean-Michel Nirgal Vourgère <jmv_deb@nirgal.com>
Forwarded: no
Last-Update: 2014-07-19
Index: django-session-security-2.2.0/docs/source/conf.py
===================================================================
--- django-session-security-2.2.0.orig/docs/source/conf.py
+++ django-session-security-2.2.0/docs/source/conf.py
@@ -27,16 +27,16 @@ autoclass_content = "both"
project_root = os.path.abspath('../../')
static_root = os.path.abspath('_static')
-import pycco
-for script in ('script',):
- html = pycco.generate_documentation(
- os.path.join(project_root, 'session_security/static/session_security/%s.js' % script),
- static_root
- )
- html = html.replace('../../../docs/source/_static/pycco.css', 'pycco.css')
- f = open(os.path.join(static_root, '%s.html' % script), 'w+')
- f.write(html)
- f.close()
+#import pycco
+#for script in ('script',):
+# html = pycco.generate_documentation(
+# os.path.join(project_root, 'session_security/static/session_security/%s.js' % script),
+# static_root
+# )
+# html = html.replace('../../../docs/source/_static/pycco.css', 'pycco.css')
+# f = open(os.path.join(static_root, '%s.html' % script), 'w+')
+# f.write(html)
+# f.close()
# -- General configuration -----------------------------------------------------
|