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