Skip to content

Commit

Permalink
preflight in binder
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Sep 1, 2023
1 parent b3abeab commit 327aa3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
set -eux
source activate $NB_PYTHON_PREFIX

doit dt:dist:flit
doit lock:preflight
doit js*:build:ext || doit js*:build:ext

python -m pip install \
-vv \
--find-links=dist \
--no-index-url \
--no-deps \
jupyterlab-fonts
python -m pip install -e . --no-deps --ignore-installed
jupyter labextension develop . --overwrite

cp .binder/overrides.json $NB_PYTHON_PREFIX/share/jupyter/lab/settings

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ meta = {doitoml = {log = "::git_info"}}
targets = ["::git_info"]

[tool.doitoml.tasks.dist.flit]
actions = [["::conda_run_build", "flit", "build"]]
actions = [["::conda_run_build", "flit", "--debug", "build"]]
file_dep = ["::js-*::dist_pkg_json", "::all_py_src", "::ppt", "::license", "::readme", "::git_info"]
meta = {doitoml = {skip = {any = ["${TESTING_IN_CI}"]}}}
targets = ["::wheel", "::sdist"]
Expand Down

0 comments on commit 327aa3c

Please sign in to comment.