Skip to content

Commit

Permalink
DX: define developer environment with uv (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and web-flow authored Nov 7, 2024
1 parent 4d75599 commit 1c9e9b4
Show file tree
Hide file tree
Showing 47 changed files with 4,084 additions and 1,795 deletions.
13 changes: 13 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
set -ex
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--group jupyter \
--no-dev \
> requirements.txt
uv pip install \
--requirement requirements.txt \
--system
rm requirements.txt
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.12
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit 1c9e9b4

Please sign in to comment.