Is there a way to exclude third party python dependencies?

Asked 8 months ago

I'm currently building a huge project (it's a healthcare app) that has a lot of dependencies. Some of them, however, are from third parties, and I'm not srure if I want to include them. What's the best way to do exclude them?

Ellis Callahan

Sunday, October 09, 2022

You can do this by simply running a script that goes something like this "pip install $(grep -ivE "pkg1|pkg2|pkg3" requirements.txt)". The part with $(grep -ivE "packages"..) excludes the packages you want to ignore automatically.

Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?