Skip to content

legacy setup.py deprecation warning #33

@rlskoeser

Description

@rlskoeser

I used pip to install dvt and got a deprecation warning:

DEPRECATION: dvt is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

The pyproject.toml approach is newer to me, see https://peps.python.org/pep-0621/ or some background and documentation.

I also know from looking into this from my other projects, you may able to use pdm to import your existing setup.py and create a pyproject file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions