Show More
@@ -3,5 +3,5 b'' | |||
|
3 | 3 | from .exporters import * |
|
4 | 4 | import filters |
|
5 | 5 | import preprocessors |
|
6 |
import post |
|
|
6 | import postprocessors | |
|
7 | 7 | import writers |
@@ -33,7 +33,7 b' from IPython.utils.importstring import import_item' | |||
|
33 | 33 | from IPython.utils.text import dedent |
|
34 | 34 | |
|
35 | 35 | from .exporters.export import get_export_names, exporter_map |
|
36 |
from IPython.nbconvert import exporters, preprocessors, writers, post |
|
|
36 | from IPython.nbconvert import exporters, preprocessors, writers, postprocessors | |
|
37 | 37 | from .utils.base import NbConvertBase |
|
38 | 38 | from .utils.exceptions import ConversionException |
|
39 | 39 | |
@@ -166,15 +166,15 b' class NbConvertApp(BaseIPythonApplication):' | |||
|
166 | 166 | self.writer_factory = import_item(new) |
|
167 | 167 | |
|
168 | 168 | # Post-processor specific variables |
|
169 |
post_processor = Instance('IPython.nbconvert.post |
|
|
169 | post_processor = Instance('IPython.nbconvert.postprocessors.base.PostProcessorBase', | |
|
170 | 170 | help="""Instance of the PostProcessor class used to write the |
|
171 | 171 | results of the conversion.""") |
|
172 | 172 | |
|
173 | 173 | post_processor_class = DottedOrNone(config=True, |
|
174 | 174 | help="""PostProcessor class used to write the |
|
175 | 175 | results of the conversion""") |
|
176 |
post_processor_aliases = {'pdf': 'IPython.nbconvert.post |
|
|
177 |
'serve': 'IPython.nbconvert.post |
|
|
176 | post_processor_aliases = {'pdf': 'IPython.nbconvert.postprocessors.pdf.PDFPostProcessor', | |
|
177 | 'serve': 'IPython.nbconvert.postprocessors.serve.ServePostProcessor'} | |
|
178 | 178 | post_processor_factory = Type() |
|
179 | 179 | |
|
180 | 180 | def _post_processor_class_changed(self, name, old, new): |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/__init__.py to IPython/nbconvert/postprocessors/__init__.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/base.py to IPython/nbconvert/postprocessors/base.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/pdf.py to IPython/nbconvert/postprocessors/pdf.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/serve.py to IPython/nbconvert/postprocessors/serve.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/tests/__init__.py to IPython/nbconvert/postprocessors/tests/__init__.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/tests/test_pdf.py to IPython/nbconvert/postprocessors/tests/test_pdf.py |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/post_processors/tests/test_serve.py to IPython/nbconvert/postprocessors/tests/test_serve.py |
General Comments 0
You need to be logged in to leave comments.
Login now