Re: Fwd: scripts/spdxcheck.py's third-party dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Jul 2021 at 07:47, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux