Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
4428ffc9
Commit
4428ffc9
authored
Nov 24, 2019
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archweb/tasks/main.yml
View file @
4428ffc9
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment