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
987 stars 223 forks source link

Use python-build to also make wheels #247

Closed hugovk closed 1 year ago

hugovk commented 2 years ago

Fixes https://github.com/tkrajina/gpxpy/issues/237.

Currently, gpxpy is distributed on PyPI only as a sdist:

Please could you also distribute a wheel? It makes installation faster. More info:

This PR updates the makefile to create both an sdist and wheel using https://github.com/pypa/build, and upload both.

This solves another problem too, calling setup.py directly is deprecated by setuptools:

jtpio commented 2 years ago

Thanks @hugovk!

tkrajina commented 1 year ago

Merged, thanks (I plan to clean up a few more pull requests and then release a new version, including your wheel distribution).