The source tarball for this project https://github.com/theislab/anndata doesn't have setup.py on the PyPI website.
distutils is being deprecated, see https://www.python.org/dev/peps/pep-0632/
The replacement, setuptools, uses pyproject.toml instead, but Mk/Uses/python.mk doesn't seem to support it. The relevant section of the handbooks doesn't say anything about this: https://docs.freebsd.org/en/books/porters-handbook/special/#using-python
We have already some ports using pyproject.toml (sip related IIRC):
But I agree with you, a variable for pyproject.toml wouldn't hurt.
I created an account here to clear up some confusion:
pyproject.toml doesn’t have anything to do with setuptools *or* sip.
As of 6 years ago, it’s *the* standard way to specify how a python package is built, defined in https://www.python.org/dev/peps/pep-0517/#source-trees
This means there’s two ways do define python package builds: This standard one and the legacy setup.py
I described here how building an OS package from a python repo/sdist in a generic way could look: https://github.com/theislab/anndata/issues/561#issuecomment-835770254
(In reply to flying-sheep from comment #2)
Thank you for your comments.
Our python.mk needs to be updated to reflect the new standard.