Skip to content

Feature request: make heavier non-core dependencies optional-dependencies #101

@jraygauthier

Description

@jraygauthier

This set of tool is particularly useful in CI.

However, in order to reduce image size (or nix closure size), removal of non core heavy dependencies such as matplotlib and python-docx would be quite handy.

Simply using optional dependencies group such as plotting and docx would be just perfect.

In the meantime, I have to patch the pyproject.toml and *.py file to achieve that.

From what I understand, mathplotlib is only required by the html sub-command whereas docx by word sub-command.

A first implementation could be to simply remove the associated command when the optional group is not present.

A more granular solution might be nice to preserve html but without plot when !plotting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions