-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DX: define developer environment with
uv
(#364)
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
1 parent
d029231
commit 97a693e
Showing
37 changed files
with
5,080 additions
and
1,384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
set -ex | ||
curl -LsSf https://pixi.sh/install.sh | bash | ||
export PATH="$HOME/.pixi/bin:$PATH" | ||
|
||
pixi_packages="$(NO_COLOR= pixi list --explicit --no-install | awk 'NR > 1 {print $1}')" | ||
if [[ -n "$pixi_packages" ]]; then | ||
pixi global install $pixi_packages | ||
fi | ||
export PYTHONHASHSEED="0" | ||
bash julia/install.sh | ||
pixi clean cache --yes | ||
|
||
uv export \ | ||
--extra jupyter \ | ||
--extra notebooks \ | ||
> requirements.txt | ||
uv pip install \ | ||
--requirement requirements.txt \ | ||
--system | ||
uv cache clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python-3.12 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.