jku / pip

pip fork to experiment with PEP-458 implementation https://www.python.org/dev/peps/pep-0458/: See branch tuf-v2 (and tuf-mvp and tuf-mvp-vendored for earlier work)
https://pip.pypa.io/
MIT License
1 stars 0 forks source link

handle PIP_USER_AGENT_USER_DATA #30

Open jku opened 4 years ago

jku commented 4 years ago

pip supports env variable PIP_USER_AGENT_USER_DATA to include a JSON-encoded string in the user-agent variable used in pip’s requests.

This pretty much requires access to the underlying Requests Session object, much like #28, #29