pigar icon indicating copy to clipboard operation
pigar copied to clipboard

Exclude the package itself from requirements

Open The-One-Who-Speaks-and-Depicts opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. I had my package installed within the environment, where I developed my package. I have cross-imports between package modules, so each time I run pigar generate within the project folder, my package appears in the requirements.txt.

Describe the solution you'd like Something like --exclude-package option for generate function that takes strings of package names, split by space, and excludes them from generated file.

Describe alternatives you've considered I have tried deleting package from the environment, but then there is a warning of a non-installed package.