uv_install

This commit is contained in:
Marc Beninca 2024-09-29 12:19:08 +02:00
parent 9d537b2247
commit 9616edc523
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

56
re.sh
View file

@ -33,6 +33,32 @@ remove() {
rm --force --recursive "${@}" rm --force --recursive "${@}"
} }
uv_install() { uv_install() {
set \
"pelican" \
\
"hatch" \
\
"Sphinx" \
"sphinx-rtd-theme" \
\
"gitlint" \
\
"pydoclint" \
"pylint" \
"ruff" \
\
"pytest" \
\
"toml" \
\
"twine" \
\
"mypy" \
"pyright" \
\
"ruamel.yaml" \
"PyYAML" \
"types-PyYAML"
echo echo
uv pip install --index-url "${url_pypi}" "${@}" uv pip install --index-url "${url_pypi}" "${@}"
} }
@ -81,35 +107,7 @@ pip_install "uv"
list "${py}" list "${py}"
set \ uv_install
\
"pelican" \
\
"hatch" \
\
"Sphinx" \
"sphinx-rtd-theme" \
\
"gitlint" \
\
"pydoclint" \
"pylint" \
"ruff" \
\
"pytest" \
\
"toml" \
\
"twine" \
\
"mypy" \
"pyright" \
\
"ruamel.yaml" \
"PyYAML" \
"types-PyYAML"
uv_install "${@}"
ln --symbolic "/rwx/rwx/rwx" "${py}/lib/python"*"/site-packages/rwx" ln --symbolic "/rwx/rwx/rwx" "${py}/lib/python"*"/site-packages/rwx"