Skip to content

Exclude the package itself from requirements #204

@The-One-Who-Speaks-and-Depicts

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions