Wmfdata now has a minimal pyproject.toml file (T378254), but we should go ahead and move all the remaining Setuptools configuration from setup.py to pyproject.toml.
The easiest way to handle the version number is probably to make __version__ in the main __init__.py the source of truth and then configure Setuptools in pyproject.toml to dynamically extract it.