dvt icon indicating copy to clipboard operation
dvt copied to clipboard

legacy setup.py deprecation warning

Open rlskoeser opened this issue 1 year ago • 0 comments

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 https://github.com/pypa/pip/issues/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

rlskoeser avatar Mar 08 '23 15:03 rlskoeser