Create pip.conf from a template, handle proxy network

This commit is contained in:
2024-04-09 19:08:55 +01:00
parent a8f255b715
commit 9bf8c46bb9
2 changed files with 17 additions and 2 deletions

View File

@@ -28,8 +28,15 @@
dest: ~/.pylintrc
- src: ~/.config/python/ipython_config.py
dest: ~/.config/ipython/profile_default/ipython_config.py
- src: ~/.config/python/pip.conf
dest: ~/.config/pip/pip.conf
# TODO: remove this symbolic link if it exists, don't remove a regular file
# - src: ~/.config/python/pip.conf
# dest: ~/.config/pip/pip.conf
- name: create pip.conf from template
template:
src: pip.conf.j2
dest: ~/.config/pip/pip.conf
- name: install pip packages
pip: