ralhei / pyRserve

A python client for Rserve (network layer to remote R server)
Other
48 stars 13 forks source link

Add standard build metadata #32

Open flying-sheep opened 1 year ago

flying-sheep commented 1 year ago

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.

ralhei commented 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?

flying-sheep commented 1 year ago

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)