damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
https://damnever.github.io/pigar/
BSD 3-Clause "New" or "Revised" License
1.61k stars 90 forks source link

Ability to ignore "dependencies" #186

Open nottisa opened 7 months ago

nottisa commented 7 months ago

Recently an issue came up where I was having a difficult time with pigar wanting to install various internal modules. A part of this resolution could be to simply add the ability to ignore said dependencies. It also would be nice if you didn't want certain dependencies to install because of a dev environment or something... I would recommend two solutions for this. A comment in the file to ignore a dependency, and a command line argument.