2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

develop installs python3 bench

This commit is contained in:
Ameya Shenoy 2018-03-01 07:49:41 +05:30
parent ee695ff14b
commit 68b5e1b9ae
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E

View File

@ -28,11 +28,17 @@
stat: path="{{ bench_path }}"
register: bench_stat
- name: init bench
- name: python3 bench init for develop
command: bench init {{ bench_path }} --frappe-branch {{ branch }} --python python3
args:
creates: "{{ bench_path }}"
when: not bench_stat.stat.exists and develop
- name: python2 bench init for develop
command: bench init {{ bench_path }} --frappe-branch {{ branch }}
args:
creates: "{{ bench_path }}"
when: not bench_stat.stat.exists
when: not bench_stat.stat.exists and production
# setup common_site_config
- name: setup config