separate dev packages in requirements

This commit is contained in:
FuzzyGrim
2023-03-07 12:57:40 +01:00
parent 997d3c6ab6
commit 474d0265ab
5 changed files with 10 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
- name: Run Tests
env:

View File

@@ -4,7 +4,7 @@ FROM python:3.9-slim as builder
COPY ./requirements.txt /requirements.txt
RUN apt-get update && apt-get install -y --no-install-recommends g++ gosu && \
pip install --extra-index-url https://www.piwheels.org/simple --target=/dependencies $(grep -ivE "django-compressor|libsass" /requirements.txt)
pip install --extra-index-url https://www.piwheels.org/simple --target=/dependencies -r /requirements.txt
FROM python:3.9-slim-bullseye

View File

@@ -88,7 +88,7 @@ DEBUG=True
Then run the following commands.
```bash
python -m pip install -U -r requirements.txt
python -m pip install -U -r requirements_dev.txt
cd yamtarr
python manage.py migrate
python manage.py runserver

View File

@@ -1,15 +1,10 @@
aiofiles==23.1.0
aiohttp==3.8.4
black==23.1.0
coverage==7.1.0
crispy-bootstrap5==0.7
Django==4.1.7
django-compressor==4.3.1
django-crispy-forms==2.0
django-sass-processor==1.2.2
flake8==6.0.0
flake8-length==0.3.1
libsass==0.22.0
Pillow==9.4.0
python-decouple==3.7
requests==2.28.2

7
requirements_dev.txt Normal file
View File

@@ -0,0 +1,7 @@
black==23.1.0
coverage==7.1.0
flake8==6.0.0
flake8-length==0.3.1
libsass==0.22.0
-r requirements.txt