-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breakout pip._internal.download to a pip._internal.network sub-package #6813
Comments
I think some of the helper functions (like url_to_path), would be better somewhere inside utils, especially ones that don’t have extra dependencies and are needed for non-download tasks. |
Yep yep. I think it may also make sense to move the utilities that deal with the urls, credentials, and related things, to |
My preference has always been the latter (something in |
FYI, I posted issue #6861 ("Move |
@chrahunt Could you link your PRs to this issue? |
|
I think we should move that functionality into the network package as well. |
What specifically? |
Just, like, I think we should not have a download.py module on the top level when we also have a network sub-package. It's more of preferences than something technical. |
pip._internal.download
is almost 1200 LoC.It'd probably make sense to break it up into smaller modules in a
pip._internal.network
package.The text was updated successfully, but these errors were encountered: