Skip to content

Commit

Permalink
Enable automatic installation of extension and fix path config
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu committed Jan 9, 2023
1 parent 51c836e commit f447d8f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"load_extensions": {
"markus-jupyter-extension/extension": true
}
}
4 changes: 2 additions & 2 deletions markus-jupyter-extension/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'static',
'dest': 'markus-jupyter',
'require': 'markus-jupyter/extension'
'dest': 'markus-jupyter-extension',
'require': 'markus-jupyter-extension/extension'
}]
10 changes: 9 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = markus-jupyter-extension
version = 0.1.1
version = 0.1.2
description = Jupyter extension for integration with MarkUs
long_description = file: README.md
long_description_content_type = text/markdown
Expand All @@ -17,6 +17,14 @@ python_requires = ~=3.8
zip_safe = False
include_package_data = True

[options.data_files]
share/jupyter/nbextensions/markus-jupyter-extension =
markus-jupyter-extension/static/extension.js
share/jupyter/nbextensions/markus-jupyter-extension/assets =
markus-jupyter-extension/static/assets/markus.ico
etc/jupyter/nbconfig/notebook.d =
jupyter-config/nbconfig/notebook.d/markus_jupyter_extension.json

[options.extras_require]
dev =
pre-commit

0 comments on commit f447d8f

Please sign in to comment.