use stdlib to create the virtualenv (#62984)
This commit is contained in:
parent
c9aef7015e
commit
16aa6ae786
|
@ -27,12 +27,12 @@
|
|||
- python3-pip
|
||||
- python3-psycopg2
|
||||
- python3-uwsgidecorators
|
||||
- python3-venv
|
||||
- rabbitmq-server
|
||||
- sassc
|
||||
- supervisor
|
||||
- uwsgi
|
||||
- uwsgi-plugin-python3
|
||||
- virtualenv
|
||||
state: present
|
||||
become: yes
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
|||
name: django
|
||||
version: "{{django_version}}"
|
||||
virtualenv: "{{venv_py3}}"
|
||||
virtualenv_python: "python3"
|
||||
virtualenv_command: "python3 -m venv"
|
||||
|
||||
- name: guess virtualenv python3 site-packages
|
||||
command: "{{venv_py3_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'"
|
||||
|
|
Loading…
Reference in New Issue