Closed mreineck closed 1 year ago
sorry, don't know how to help here.
What happens if you remove the [project]
section from pyproject.toml
?
If I remove that, the warning goes away. But according to the warning, this "prevents setuptools from considering pyproject.toml", and if I understand correctly, this is not what I want. (I introduced pyproject.toml
only fairly recently, since it was claimed that this was the way to go with Python package configuration...)
Short update on this: I think I managed to fix the pyproject.tom
file. This is what it looks now:
[project]
requires-python = ">=3.7"
name = "ducc0"
readme = "README.md"
authors = [
{name = "Martin Reinecke", email = "martin@mpa-garching.mpg.de"},
]
dynamic = ["license", "description", "version", "urls", "classifiers"]
[build-system]
requires = ["setuptools >= 40.6.0", "pybind11 >= 2.6.0", "numpy >= 1.17.0"]
build-backend = "setuptools.build_meta"
Since a few weeks I'm observing behaviour like the following when building/installing the package:
I have tried various things but didn't manage to get rid of the warning or have Python tell me in which respect
pyproject.toml
is "invalid".Since I fear that this will break completely at some point (if I understand correctly, building without
pyproject.toml
will not work any more in he future), I thought I'd rather ask for expert help now ... @ziotom78, @zonca, do you have any advice?