Re: Fwd: scripts/spdxcheck.py's third-party dependencies
Greg KH <[email protected]>
| Newsgroups | org.kernel.vger.linux-spdx |
|---|---|
| Message-ID | <YQvX4u/[email protected]> |
On Sat, Jul 31, 2021 at 12:57:43PM +0100, Nicky Chorley wrote: > On Tue, 27 Jul 2021 at 07:47, Greg KH <[email protected]> wrote: > > How can you add a requirements.txt file for a single script in a > > directory of other scripts? > > You can name them (e.g. requirements-spdxcheck.txt), as pip lets you > specify which one to use with its -r option. In addition, if one wants > to have a different set of libraries installed for different scripts > (or projects, generally), Python's virtual environments offer a > lightweight way to do that. But we do not use pip to do kernel builds, so what is this going to help with? I'm sorry, I do not understand the problem here... thanks, greg k-h