-
Notifications
You must be signed in to change notification settings - Fork 64
Add offscreen-canvas support for the jupyterlite-xeus case #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add offscreen-canvas support for the jupyterlite-xeus case #365
Conversation
Hope you don't mind, I updated your branch from the UI |
@@ -0,0 +1,550 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you make sure this was really shipped as part of the wheel under site-packages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[tool.hatch.build.hooks.jupyter-builder]
ensured-targets = [
"ipycanvas/offscreen_canvas/js/init.js",
"ipycanvas/nbextension/static/index.js", "ipycanvas/nbextension/static/index.js",
"ipycanvas/labextension/package.json", "ipycanvas/labextension/package.json",
]
adding it here does the trick I think, but it does not feel right there.
I think it rather belongs in tool.hatch.build.targets.sdist
but then we need to specify all our desired includes.
I was not able to get this to work so far.
[tool.hatch.build.targets.sdist]
include = [
# [...]
]
Co-authored-by: martinRenou <martin.renou@gmail.com>
Co-authored-by: martinRenou <martin.renou@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
...just an more or less empty widget so far...