Skip to content

Commit

Permalink
DX: define developer environment with uv (#533)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 18, 2024
1 parent 6bd4349 commit a25c6cf
Show file tree
Hide file tree
Showing 33 changed files with 5,326 additions and 1,493 deletions.
1 change: 1 addition & 0 deletions .binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graphviz
12 changes: 12 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--extra jupyter \
--extra notebooks \
> requirements.txt
uv pip install \
--requirement requirements.txt \
--system
uv cache clean
1 change: 1 addition & 0 deletions .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.10
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

247 changes: 0 additions & 247 deletions .constraints/py3.10.txt

This file was deleted.

Loading

0 comments on commit a25c6cf

Please sign in to comment.