Skip to content

Commit 4a9199b

Browse files
Merge pull request #7 from analysiscenter/fixes
Add setup extras
2 parents 13dd324 + 48739d7 commit 4a9199b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

nbtools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .run_notebook import run_notebook
55
from .pylint_notebook import pylint_notebook
66

7-
__version__ = '0.9.7'
7+
__version__ = '0.9.8'

nbtools/run_notebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
def run_notebook(path, inputs=None, outputs=None, inputs_pos=1, working_dir = './', execute_kwargs=None,
5555
out_path_db=None, out_path_ipynb=None, out_path_html=None, remove_db='always', add_timestamp=True,
56-
hide_code_cells=False, mask_extra_code=True, display_links=True,
56+
hide_code_cells=False, mask_extra_code=False, display_links=True,
5757
raise_exception=False, return_notebook=False):
5858
""" Execute a Jupyter Notebook programmatically.
5959
Heavily inspired by https://github.com/tritemio/nbrun.

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
'blessed>=1.17',
3232
'psutil>=5.6',
3333
],
34+
extras_require={'nbrun': [
35+
'ipython>=7.10.0',
36+
'nbconvert>=5.6.1',
37+
]},
3438
classifiers=[
3539
'Development Status :: 4 - Beta',
3640
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)