polyleven
polyleven copied to clipboard
Deprecation Warning: Legacy 'setup.py install' Method
Hi,
I'm getting following deprecation warning during the installation. It looks like there will be a breaking change in pip 23.1:
Collecting polyleven
Downloading polyleven-0.8.tar.gz (6.4 kB)
Preparing metadata (setup.py) ... done
Installing collected packages: polyleven
DEPRECATION: polyleven 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
Running setup.py install for polyleven ... done
Successfully installed polyleven-0.8
[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
Best!
@filipre Thank you for reporitng!
I think the particular warning message will disappear once you install wheel
package
as your error message suggested:
$ pip install wheel
$ pip install polyleven
Note: it seems like time is coming to migrate to pyproject.toml
.
I'm going to find some time and update the project.