[completely optional] direnv+mise autosetup (#87)
Makes life a lot easier in my experience.
This commit is contained in:
5
.envrc
Normal file
5
.envrc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
watch_file .mise.toml
|
||||||
|
[[ -e ~/.local/bin/mise ]] || (curl -sf https://mise.run | MISE_QUIET=1 sh)
|
||||||
|
~/.local/bin/mise trust 2> /dev/null
|
||||||
|
~/.local/bin/mise install -qy
|
||||||
|
direnv_load ~/.local/bin/mise direnv exec
|
||||||
5
.mise.toml
Normal file
5
.mise.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[tools]
|
||||||
|
python = "3.12"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
_.python.venv = { path = ".venv", create = true }
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
numpy~=1.26.4
|
numpy~=1.26.4
|
||||||
Pillow~=10.1.0
|
Pillow~=11.0.0
|
||||||
fabric
|
fabric
|
||||||
gymnasium~=0.28.1
|
gymnasium~=0.28.1
|
||||||
requests~=2.31.0
|
requests~=2.31.0
|
||||||
|
|||||||
Reference in New Issue
Block a user