Use skip_if_exists from jupyter-packaging
See original GitHub issueThis is not mandatory for the extension to work.
In order to prevent the jupytext-feedstock to build the labextension and the nbextension (hence not depend on jupyterlab and nodejs), we can use jupyter-packaging’s skip_if_exists
function which allows us to skip the build. In that case we need to ship the nbextension and labextension as part of the sdist.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Tools to help build and install Jupyter Python packages - GitHub
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >Tools To Help Build and install Jupyter Python Packages
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >Changelog — Jupyter Server documentation - Read the Docs
Add skip-if-exists config #1108 (@blink1073). Use ... Use admin github token for releaser #1025 (@blink1073) ... Use Jupyter Packaging #477 (@jtpio) ...
Read more >Jupyter Packaging :: Anaconda.org
noarch v0.12.3. conda install. To install this package run one of the following: conda install -c conda-forge jupyter-packaging. Description.
Read more >Jupyter Packaging - GithubHelp
There are three ways to use jupyter-packaging in another package. ... skip-if-exists : A list of local files whose presence causes the prebuild...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Locally I am having some success with https://github.com/mwouts/jupytext/pull/708. Do you deem that as acceptable?
Thank you @martinRenou . Well I’ve added an
if shutil.which("npm")
(see #708) and that seems to work well, both on linux and windows. We’ll do with that until we find a better way!