Add the setuptools workaround
Also stop supporting Python 2 explicitly. Change-Id: Ifba6afa9fcbad6d9517d09713ab17bac85879163
This commit is contained in:
parent
f0888f7557
commit
9c93e986e1
@ -12,13 +12,18 @@
|
||||
requirements: "{{ metalsmith_src_dir }}/metalsmith/requirements.txt"
|
||||
extra_args: -c {{ metalsmith_src_dir }}/requirements/upper-constraints.txt
|
||||
become: true
|
||||
environment:
|
||||
# NOTE(dtantsur): https://github.com/pypa/setuptools/issues/2353
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
|
||||
- name: Install metalsmith
|
||||
pip:
|
||||
name: "{{ metalsmith_src_dir }}/metalsmith"
|
||||
editable: true
|
||||
become: true
|
||||
environment:
|
||||
SETUPTOOLS_USE_DISTUTILS: stdlib
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/bin/{{ metalsmith_python | default('python') }}
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
|
Loading…
Reference in New Issue
Block a user