From 9616edc52351df336d559695d34b3c757fc79497 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 29 Sep 2024 12:19:08 +0200 Subject: [PATCH] uv_install --- re.sh | 56 +++++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/re.sh b/re.sh index 96be2ae..cb4c4c6 100755 --- a/re.sh +++ b/re.sh @@ -33,6 +33,32 @@ remove() { rm --force --recursive "${@}" } uv_install() { +set \ + "pelican" \ + \ + "hatch" \ + \ + "Sphinx" \ + "sphinx-rtd-theme" \ + \ + "gitlint" \ + \ + "pydoclint" \ + "pylint" \ + "ruff" \ + \ + "pytest" \ + \ + "toml" \ + \ + "twine" \ + \ + "mypy" \ + "pyright" \ + \ + "ruamel.yaml" \ + "PyYAML" \ + "types-PyYAML" echo uv pip install --index-url "${url_pypi}" "${@}" } @@ -81,35 +107,7 @@ pip_install "uv" list "${py}" -set \ - \ - "pelican" \ - \ - "hatch" \ - \ - "Sphinx" \ - "sphinx-rtd-theme" \ - \ - "gitlint" \ - \ - "pydoclint" \ - "pylint" \ - "ruff" \ - \ - "pytest" \ - \ - "toml" \ - \ - "twine" \ - \ - "mypy" \ - "pyright" \ - \ - "ruamel.yaml" \ - "PyYAML" \ - "types-PyYAML" - -uv_install "${@}" +uv_install ln --symbolic "/rwx/rwx/rwx" "${py}/lib/python"*"/site-packages/rwx"