gpxpy icon indicating copy to clipboard operation
gpxpy copied to clipboard

Use python-build to also make wheels

Open hugovk opened this issue 3 years ago • 1 comments

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

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

  • https://pypi.org/project/gpxpy/1.5.0/#files

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

  • https://pythonwheels.com/

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:

  • https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

hugovk avatar Feb 06 '22 20:02 hugovk

Thanks @hugovk!

jtpio avatar Feb 07 '22 07:02 jtpio

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

tkrajina avatar Dec 11 '22 08:12 tkrajina