We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0da3d4 commit ba3d02dCopy full SHA for ba3d02d
pythreejs/__init__.py
@@ -1,4 +1,5 @@
1
from ._version import version_info, __version__
2
+from ._package import npm_pkg_name, py_pkg_name
3
4
from .pythreejs import (
5
Texture,
@@ -139,6 +140,6 @@ def _jupyter_nbextension_paths():
139
140
return [{
141
'section': 'notebook',
142
'src': 'static',
- 'dest': 'jupyter-threejs',
143
- 'require': 'jupyter-threejs/extension'
+ 'dest': npm_pkg_name,
144
+ 'require': npm_pkg_name + '/extension'
145
}]
pythreejs/_package.py
@@ -0,0 +1,3 @@
+npm_pkg_name = 'jupyter-threejs'
+py_pkg_name = 'pythreejs'
+
0 commit comments