mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 07:54:36 +00:00
feat: use uv for initenv if installed
This commit is contained in:
@@ -18,8 +18,15 @@ if command -v lsb_release 2>&1 >/dev/null; then
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3 -m venv --upgrade-deps venv
|
if command -v uv >/dev/null 2>&1; then
|
||||||
|
echo "Using uv for faster environment setup..."
|
||||||
venv/bin/pip install -e chatmaild
|
uv venv venv
|
||||||
venv/bin/pip install -e cmdeploy
|
uv pip install --python venv/bin/python -e chatmaild
|
||||||
venv/bin/pip install sphinx sphinxcontrib-mermaid sphinx-autobuild furo # for building the docs
|
uv pip install --python venv/bin/python -e cmdeploy
|
||||||
|
uv pip install --python venv/bin/python sphinx sphinxcontrib-mermaid sphinx-autobuild furo
|
||||||
|
else
|
||||||
|
python3 -m venv --upgrade-deps venv
|
||||||
|
venv/bin/pip install -e chatmaild
|
||||||
|
venv/bin/pip install -e cmdeploy
|
||||||
|
venv/bin/pip install sphinx sphinxcontrib-mermaid sphinx-autobuild furo
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user