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.

How about a subcommand to vendor packages?

See original GitHub issue

Occasionally I want to vendor packages, so with a requirements.txt based workflow, I would have executed pip download -r requirements.txt -d vendor. As far as I can tell, pipenv doesn’t have an subcommand to do this. It would be great to have such an option.

Also, in addition it would be cool to choose whether to vendor development packages, or whether to not vendor them.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
HolgerPeterscommented, Dec 18, 2017

Ok.

I found that I can use to solve the issue I had when I opened this ticket. Maybe useful for people who stumble over this issue when googling for something similar.

% pipenv lock -r > foo.txt
% pip download -d vendor -r foo.txt
1reaction
kennethreitzcommented, Dec 18, 2017

no, this is not trivial in python

Read more comments on GitHub >

github_iconTop Results From Across the Web

cargo vendor - The Cargo Book
This cargo subcommand will vendor all crates.io and git dependencies for a project into the specified directory at <path> . After this command...
Read more >
Go Modules Reference - The Go Programming Language
The go mod vendor command constructs a directory named vendor in the main module's root directory containing copies of all packages needed to...
Read more >
cargo-vendor - SUSE Package Hub
Package Version Update ID Released Package Hub Version Platforms 0.1.23‑bp152.1.1 info GA Release 2020‑06‑07 15 SP2 AArch64; ppc64le... 0.1.13‑bp151.3.1 info GA Release 2019‑07‑16 15 SP1...
Read more >
third_party/cargo-vendor - Git at Google
This is a Cargo subcommand which vendors all crates.io dependencies into a local directory using Cargo's support for source replacement.
Read more >
YUM COMMAND CHEAT SHEET
Show yum subcommands and options ... provides Find packages that provide the queried file ... Replace ??? with vendors, rpm-groups, arches,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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