Skip to content

Commit

Permalink
DX: define developer environment with uv (#289)
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 f1d1fc0 commit cebe81b
Show file tree
Hide file tree
Showing 32 changed files with 3,654 additions and 1,265 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.9
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit cebe81b

Please sign in to comment.