Merge "Do not symlink the __pycache__ directory into the venv"

This commit is contained in:
Zuul 2019-09-09 16:05:30 +00:00 committed by Gerrit Code Review
commit b6d45cf35b

View File

@ -178,6 +178,7 @@
shell: >-
{{ (ansible_pkg_mgr == 'apt') | ternary('dpkg -L ' ~ (venv_packages_to_symlink | join(' ')), 'rpm -ql ' ~ (venv_packages_to_symlink | join(' ')) ) }}
| egrep '^.*{{ venv_python_major_version }}.*/(site|dist)-packages/.*'
| egrep -v "__pycache__"
args:
warn: no
changed_when: false