Separate production-only deps #16

Merged
Dalai Felinto merged 1 commits from split-python-deps into main 2024-02-06 10:29:17 +01:00
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,6 @@ Blender Extensions platform, heavily inspired by Mozilla's https://github.com/mo
# Requirements # Requirements
* Python 3.10 * Python 3.10
* libpq-dev
## Development ## Development

View File

@ -17,7 +17,7 @@
become: true become: true
become_user: "{{ user }}" become_user: "{{ user }}"
ansible.builtin.pip: ansible.builtin.pip:
requirements: "{{ dir.source }}/requirements.txt" requirements: "{{ dir.source }}/requirements_prod.txt"
virtualenv: "{{ dir.source }}/.venv" virtualenv: "{{ dir.source }}/.venv"
virtualenv_command: python{{ python_version }} -m venv virtualenv_command: python{{ python_version }} -m venv
chdir: "{{ dir.source }}" chdir: "{{ dir.source }}"

View File

@ -21,7 +21,6 @@ django-pipeline==2.0.8
django-taggit==3.0.0 django-taggit==3.0.0
frozenlist==1.3.0 frozenlist==1.3.0
geoip2==4.6.0 geoip2==4.6.0
gunicorn==20.1.0
h11==0.13.0 h11==0.13.0
idna==3.3 idna==3.3
Jinja2==3.1.2 Jinja2==3.1.2
@ -35,7 +34,6 @@ mistune==2.0.4
multidict==6.0.2 multidict==6.0.2
oauthlib==3.2.0 oauthlib==3.2.0
Pillow==9.2.0 Pillow==9.2.0
psycopg2==2.9.3
requests==2.28.1 requests==2.28.1
requests-oauthlib==1.3.1 requests-oauthlib==1.3.1
semantic-version==2.10.0 semantic-version==2.10.0

3
requirements_prod.txt Normal file
View File

@ -0,0 +1,3 @@
-r requirements.txt
psycopg2==2.9.3
gunicorn==20.1.0