Skip to content
Snippets Groups Projects
Commit 62ac66f9 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

archweb: use python -m venv

Python 3.3 has venv support, prefer this method over virtualenv.
parent 466cc41e
No related branches found
No related tags found
No related merge requests found
---
- 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: virtualenv "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
command: python -m venv "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
become: true
become_user: archweb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment