diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-02-20 19:10:39 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-03-31 13:08:39 +0800 |
| commit | 8c2abb74031e2403dde83536a8e7f13c63cdd4ab (patch) | |
| tree | 873cde9638a9fc1d5ebaad7174cf0400f314e3d3 /lang/python/python-evdev | |
| parent | 6294cf26c7eaf76b97da8c1e29b86b31316fa054 (diff) | |
python: Better host pip options
pip by default will read system-wide and per-user configuration
files[1]. Setting PIP_CONFIG_FILE=/dev/null instructs pip to not read
any config files[2].
pip will spawn child processes of itself to do work, but not all options
are passed down to the child processes[3]. Setting global options as
environment variables[4] ensures they are passed down to any child
processes.
[1]: https://pip.pypa.io/en/stable/topics/configuration/#configuration-files
[2]: https://pip.pypa.io/en/stable/topics/configuration/#pip-config-file
[3]: https://github.com/pypa/pip/issues/9081#issue-733819665
[4]: https://pip.pypa.io/en/stable/topics/configuration/#environment-variables
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-evdev')
0 files changed, 0 insertions, 0 deletions
