refactor --no-install/--no-download/--download (and use mkdtemp build dirs)
See original GitHub issuepip install --download
-> pip download
pip install --no-install
-> pip unpack
pip install --no-download
-> get rid of it (see comments from @g2p below)
along with this, move to mkdtemp build dirs (instead of static ones) in virtualenvs and global installs. I think the --no-install/–no-download “workflow” is what fueled the static build dirs pip has, which have caused so many problems.
Issue Analytics
- State:
- Created 10 years ago
- Comments:62 (43 by maintainers)
Top Results From Across the Web
tempfile — Generate temporary files and directories
This class securely creates a temporary directory using the same rules as mkdtemp() . The resulting object can be used as a context...
Read more >python - How to create a temporary directory and get its path
Use the mkdtemp() function from the tempfile module: ... import tempfile # create a temporary directory using the context manager with tempfile.
Read more >Create temporary files and directories using Python-tempfile
Create temporary files and directories using Python-tempfile ... we can create a secure temporary directory using mkdtemp() method. Example:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there a way to emulate a
--dry
mode with current version of pip?FWIW, I was using
--no-download
after doing apeep
install of dependencies to ensure that a finalpip install --no-download -e .
didn’t go and download anything further (that won’t get verified, of course, because no peep). Now I’m giving pip a bogus proxy instead …