wmayner / pyemd

Fast EMD for Python: a wrapper for Pele and Werman's C++ implementation of the Earth Mover's Distance metric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switch from setup.py to pyproject.toml

pabs3 opened this issue · comments

It would be nice to switch to modern Python packaging standards at some point.

The Python community has standardised on pyproject.toml for Python packaging:

https://packaging.python.org/en/latest/tutorials/packaging-projects/

I haven't had time to complete this migration but I made a start here:

pabs3/pyemd@cleanups...pabs3:pyemd:pyproject

I agree this would be much better—thanks for getting it started.

I note that setup.py uses distutils, which will be removed from Python 3.12, switching to pyproject will fix this too.

Latest release uses modern packaging 🎉