Commit 4428ffc9 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

archweb: use system packages for postgresql python bindings

Instead of compiling the binary or relying on the binary pypi variant.
parent 186d34b4
......@@ -10,7 +10,7 @@
when: maintenance is defined
- name: install required packages
pacman: name=git,python-setuptools,python-psycopg2,uwsgi-plugin-python,gcc state=present
pacman: name=git,python-setuptools,python-psycopg2,llvm-libs,uwsgi-plugin-python state=present
- name: make archweb user
user: name=archweb shell=/bin/false home="{{ archweb_dir }}" createhome=no
......@@ -48,7 +48,7 @@
register: release
- name: make virtualenv
command: python -m venv "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
command: python -m venv --system-site-packages "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
become: true
become_user: archweb
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment