Skip to content

Commit

Permalink
Merge pull request nteract#548 from koek67/patch-2
Browse files Browse the repository at this point in the history
Update extending-entry-points.rst
  • Loading branch information
captainsafia authored Nov 5, 2020
2 parents 0ebe449 + dcfa2e1 commit 46d4386
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extending-entry-points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ file, you should specify:
packages=find_packages("./src"),
package_dir={"": "src"},
install_requires=["papermill", "nbformat"],
entry_points={"papermill.engine": ["timer_engine=papermill_timing:TimingEngine"]},
entry_points={"papermill.engine": ["timer_engine=papermill_timing:CustomEngine"]},
)
This allows users to specify the engine from ``papermill_timing`` by passing the
Expand All @@ -289,4 +289,4 @@ engine. As you can see, this adds our "injected" output to each code cell
.. _`entry points`: https://packaging.python.org/specifications/entry-points/
.. |nbformat.NotebookNode| replace:: ``nbformat.NotebookNode`` object
.. _nbformat.NotebookNode: https://nbformat.readthedocs.io/en/latest/api.html#notebooknode-objects
.. _`notebook node object`: https://nbformat.readthedocs.io/en/latest/api.html#module-nbformat.v4
.. _`notebook node object`: https://nbformat.readthedocs.io/en/latest/api.html#module-nbformat.v4

0 comments on commit 46d4386

Please sign in to comment.