Installs psycopg2 from source in pip
This commit is contained in:
parent
597925c05d
commit
ca84f00249
@ -42,7 +42,6 @@
|
||||
- progressbar2
|
||||
- xlrd
|
||||
- GitPython==0.3.2
|
||||
- psycopg2-binary==2.8.6
|
||||
- pycups==1.9.74
|
||||
|
||||
- name: Prepare folders for Odoo
|
||||
@ -63,6 +62,12 @@
|
||||
dest: /opt
|
||||
depth: 1
|
||||
|
||||
- name: Change installation method for Psycopg2
|
||||
lineinfile:
|
||||
path: /opt/odoo_agofer/requirements.txt
|
||||
line: 'psycopg2==2.7.1 --no-binary psycopg2'
|
||||
regexp: 'psycopg2'
|
||||
|
||||
- name: Install python requirements for Odoo
|
||||
pip:
|
||||
virtualenv: /home/odoo/.virtualenvs/odoo
|
||||
|
||||
Reference in New Issue
Block a user