Skip to content
Snippets Groups Projects
Commit 6e1a95f8 authored by Vincent Texier's avatar Vincent Texier
Browse files

replace poetry by uv

parent 9557d755
No related branches found
No related tags found
No related merge requests found
Pipeline #40151 passed
...@@ -9,15 +9,13 @@ apt install --yes curl libsodium23 make gettext binutils zip git libglib2.0-0 li ...@@ -9,15 +9,13 @@ apt install --yes curl libsodium23 make gettext binutils zip git libglib2.0-0 li
libxcb-render0 libxcb-render-util0 libxcb-shape0 && \ libxcb-render0 libxcb-render-util0 libxcb-shape0 && \
rm -rf /var/lib/apt/lists rm -rf /var/lib/apt/lists
# Install Poetry # Install uv
ENV POETRY_HOME="/opt/poetry" RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="$POETRY_HOME/bin:$PATH"
RUN curl -sSL https://install.python-poetry.org | python - && poetry config virtualenvs.create false
# Install main big dependency # Add uv install dir to PATH
RUN pip install -U PyQt5=="5.15.9" ENV PATH="/root/.local/bin:$PATH"
# Set X display port # Set X display portdocker u
ENV DISPLAY :99 ENV DISPLAY :99
# Add virtual X buffer start script # Add virtual X buffer start script
......
...@@ -18,7 +18,8 @@ In the container, install dependencies and build app: ...@@ -18,7 +18,8 @@ In the container, install dependencies and build app:
git clone https://git.duniter.org/clients/python/tikka.git git clone https://git.duniter.org/clients/python/tikka.git
cd tikka cd tikka
poetry install --no-root uv sync --extra dev
export PATH=".venv/bin:$PATH"
bin/convert_resources.sh bin/convert_resources.sh
make i18n_build make i18n_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment