update setuptools/wheel to fix uwsgi failing to build wheels and falling back to setup.py

This commit is contained in:
wh1te909 2020-08-16 21:08:32 +00:00
parent 5025faebbd
commit f8b86073ca
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ EXPOSE 80
RUN apt-get update && apt-get install -y gettext-base
COPY ./api/tacticalrmm/requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir setuptools==47.3.2 wheel==0.34.2
RUN pip install --no-cache-dir setuptools==49.6.0 wheel==0.35.1
RUN pip install --no-cache-dir -r requirements.txt
COPY ./api/tacticalrmm/ .
COPY ./docker/api/prestart.sh .

View File

@ -273,7 +273,7 @@ python3 -m venv env
source /rmm/api/env/bin/activate
cd /rmm/api/tacticalrmm
pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir setuptools==47.3.2 wheel==0.34.2
pip install --no-cache-dir setuptools==49.6.0 wheel==0.35.1
pip install --no-cache-dir -r /rmm/api/tacticalrmm/requirements.txt
python manage.py migrate
python manage.py collectstatic --no-input

View File

@ -1,6 +1,6 @@
#!/bin/bash
SCRIPT_VERSION="2"
SCRIPT_VERSION="3"
SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/develop/update.sh'
YELLOW='\033[1;33m'
GREEN='\033[0;32m'
@ -36,7 +36,7 @@ python3 -m venv env
source /rmm/api/env/bin/activate
cd /rmm/api/tacticalrmm
pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir setuptools==47.3.2 wheel==0.34.2
pip install --no-cache-dir setuptools==49.6.0 wheel==0.35.1
pip install --no-cache-dir -r requirements.txt
python manage.py pre_update_tasks
python manage.py migrate