Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add pyyaml as an optional extra #103

@masklinn

Description

@masklinn

Currently, the dependency on pyyaml is a bit schyzophrenic:

  • it's in requirements.txt, which doesn't really explain what's what and is not used for normal installations
  • it's in the setup_requires of setup.py, which is for build-time dependencies

This means it will not work by default, the install will work then the import will fail when trying to load the yaml file.

Packaging thingies apparently have support for optional extras which can be opted in: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies

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