tkrajina / gpxpy

gpx-py is a python GPX parser. GPX (GPS eXchange Format) is an XML based file format for GPS tracks.
Apache License 2.0
1.01k stars 223 forks source link

Setup.py method is being deprecated in python package #256

Open LaoshuBaby opened 1 year ago

LaoshuBaby commented 1 year ago

Now when you install gpxpy in python 3.11, below warning will be given:

DEPRECATION: gpxpy 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

https://github.com/pypa/pip/issues/8559 provided some suggestion about this. It was also partially mentioned in #247