Open flying-sheep opened 1 year ago
Thanks for your engagement. But would you mind to provide a bit more background for this toml file and its entries - which problem does it solve for me (or you) that I'm currently not aware of? How would I reproduce it?
It’s how you write a python package.
Almost all tools still have legacy fall-back code that just uses setup.py
, but that’ll go away eventually.
Directly invoking python setup.py <command>
is also deprecated, setuptools should tell you about that. I replaced that too. (python -m build
is the standard-based tool to build sdists and wheels)
Projects should contain PEP 517 metadata.
If you want, you can move the metadata in setup.py into that file too, but no matter what, it needs to be there.