##// END OF EJS Templates
Backport PR #3960: Don't make sphinx a dependency for importing nbconvert...
MinRK -
Show More
@@ -17,8 +17,6 b' process.'
17 17 from __future__ import print_function, absolute_import
18 18
19 19 # Stdlib imports
20 # Used to find Sphinx package location
21 import sphinx
22 20 import os.path
23 21
24 22 # Used to set the default date to today's date
@@ -123,6 +121,8 b' class SphinxTransformer(Transformer):'
123 121 Additional resources used in the conversion process. Allows
124 122 transformers to pass variables into the Jinja engine.
125 123 """
124 # import sphinx here, so that sphinx is not a dependency when it's not used
125 import sphinx
126 126
127 127 # TODO: Add versatile method of additional notebook metadata. Include
128 128 # handling of multiple files. For now use a temporay namespace,
General Comments 0
You need to be logged in to leave comments. Login now