Re: Fwd: scripts/spdxcheck.py's third-party dependencies
Nicky Chorley <[email protected]>
| Newsgroups | org.kernel.vger.linux-spdx |
|---|---|
| Message-ID | <CAG-xSobn6hyMpuhiwMLpTQ7X00xQRNW6-jf9pk5g2UfApzHBsw@mail.gmail.com> |
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. Best, Nicky