diff --git a/IPython/nbconvert/__init__.py b/IPython/nbconvert/__init__.py index 464d547..72166bc 100755 --- a/IPython/nbconvert/__init__.py +++ b/IPython/nbconvert/__init__.py @@ -3,5 +3,5 @@ from .exporters import * import filters import preprocessors -import post_processors +import postprocessors import writers diff --git a/IPython/nbconvert/nbconvertapp.py b/IPython/nbconvert/nbconvertapp.py index 1f3b3b0..87effb0 100755 --- a/IPython/nbconvert/nbconvertapp.py +++ b/IPython/nbconvert/nbconvertapp.py @@ -33,7 +33,7 @@ from IPython.utils.importstring import import_item from IPython.utils.text import dedent from .exporters.export import get_export_names, exporter_map -from IPython.nbconvert import exporters, preprocessors, writers, post_processors +from IPython.nbconvert import exporters, preprocessors, writers, postprocessors from .utils.base import NbConvertBase from .utils.exceptions import ConversionException @@ -166,15 +166,15 @@ class NbConvertApp(BaseIPythonApplication): self.writer_factory = import_item(new) # Post-processor specific variables - post_processor = Instance('IPython.nbconvert.post_processors.base.PostProcessorBase', + post_processor = Instance('IPython.nbconvert.postprocessors.base.PostProcessorBase', help="""Instance of the PostProcessor class used to write the results of the conversion.""") post_processor_class = DottedOrNone(config=True, help="""PostProcessor class used to write the results of the conversion""") - post_processor_aliases = {'pdf': 'IPython.nbconvert.post_processors.pdf.PDFPostProcessor', - 'serve': 'IPython.nbconvert.post_processors.serve.ServePostProcessor'} + post_processor_aliases = {'pdf': 'IPython.nbconvert.postprocessors.pdf.PDFPostProcessor', + 'serve': 'IPython.nbconvert.postprocessors.serve.ServePostProcessor'} post_processor_factory = Type() def _post_processor_class_changed(self, name, old, new): diff --git a/IPython/nbconvert/post_processors/__init__.py b/IPython/nbconvert/postprocessors/__init__.py similarity index 100% rename from IPython/nbconvert/post_processors/__init__.py rename to IPython/nbconvert/postprocessors/__init__.py diff --git a/IPython/nbconvert/post_processors/base.py b/IPython/nbconvert/postprocessors/base.py similarity index 100% rename from IPython/nbconvert/post_processors/base.py rename to IPython/nbconvert/postprocessors/base.py diff --git a/IPython/nbconvert/post_processors/pdf.py b/IPython/nbconvert/postprocessors/pdf.py similarity index 100% rename from IPython/nbconvert/post_processors/pdf.py rename to IPython/nbconvert/postprocessors/pdf.py diff --git a/IPython/nbconvert/post_processors/serve.py b/IPython/nbconvert/postprocessors/serve.py similarity index 100% rename from IPython/nbconvert/post_processors/serve.py rename to IPython/nbconvert/postprocessors/serve.py diff --git a/IPython/nbconvert/post_processors/tests/__init__.py b/IPython/nbconvert/postprocessors/tests/__init__.py similarity index 100% rename from IPython/nbconvert/post_processors/tests/__init__.py rename to IPython/nbconvert/postprocessors/tests/__init__.py diff --git a/IPython/nbconvert/post_processors/tests/test_pdf.py b/IPython/nbconvert/postprocessors/tests/test_pdf.py similarity index 100% rename from IPython/nbconvert/post_processors/tests/test_pdf.py rename to IPython/nbconvert/postprocessors/tests/test_pdf.py diff --git a/IPython/nbconvert/post_processors/tests/test_serve.py b/IPython/nbconvert/postprocessors/tests/test_serve.py similarity index 100% rename from IPython/nbconvert/post_processors/tests/test_serve.py rename to IPython/nbconvert/postprocessors/tests/test_serve.py