Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
62ac66f9
Commit
62ac66f9
authored
Mar 17, 2019
by
Jelle van der Waa
🚧
Browse files
archweb: use python -m venv
Python 3.3 has venv support, prefer this method over virtualenv.
parent
466cc41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archweb/tasks/main.yml
View file @
62ac66f9
---
-
name
:
install required packages
pacman
:
name=git,python-setuptools,python-psycopg2,
python-virtualenv,
uwsgi-plugin-python,gcc state=present
pacman
:
name=git,python-setuptools,python-psycopg2,uwsgi-plugin-python,gcc state=present
-
name
:
make archweb user
user
:
name=archweb shell=/bin/false home="{{ archweb_dir }}" createhome=no
...
...
@@ -36,7 +36,7 @@
register
:
release
-
name
:
make virtualenv
command
:
virtual
env "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
command
:
python -m v
env "{{ 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