mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 02:37:02 +00:00
separate dev packages in requirements
This commit is contained in:
2
.github/workflows/app-tests.yml
vendored
2
.github/workflows/app-tests.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
7
requirements_dev.txt
Normal 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
|
||||
Reference in New Issue
Block a user