question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

refactor --no-install/--no-download/--download (and use mkdtemp build dirs)

See original GitHub issue

pip 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:closed
  • Created 10 years ago
  • Comments:62 (43 by maintainers)

github_iconTop GitHub Comments

7reactions
ssbarneacommented, Apr 1, 2016

Is there a way to emulate a --dry mode with current version of pip?

0reactions
meejahcommented, Jun 18, 2015

FWIW, I was using --no-download after doing a peep install of dependencies to ensure that a final pip 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 …

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found