From 6496dcb432bea19039ea7ed62e76f482c2ce1880 Mon Sep 17 00:00:00 2001 From: Argiris Deligiannidis Date: Fri, 2 Feb 2024 13:15:38 +0200 Subject: [PATCH] Edit linux dependencies --- .drone.yml | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5fc9fe3..d286109 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,10 +17,10 @@ steps: - apk add --update python3 py3-pip python3-dev gfortran build-base py3-numpy py3-pandas python3-tkinter libgfortran libquadmath libgcc gnutls # linux build - cd /drone/src/ - - python -m venv venv + - python -m venv --system-site-packages venv - source venv/bin/activate - pip3 config --user set global.progress_bar off - - pip3 install --prefer-binary -r requirements.txt + - pip3 install --prefer-binary --ignore-installed -r requirements.txt - pyinstaller --onefile --name matomo-csv-util.bin --hidden-import=tkinter -y --distpath /drone/src/out/ /drone/src/main.py - deactivate - cp -v out/matomo-csv-util.bin dist/ diff --git a/requirements.txt b/requirements.txt index 1e02605..1727903 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ altgraph==0.17.4 -numpy==1.26.3 +numpy==1.25.2 packaging==23.2 pandas==2.0.3 pefile==2023.2.7