Oct-24-2021, 07:33 PM
(This post was last modified: Oct-24-2021, 07:34 PM by ChrisOfBristol.)
I want to create a binary package (Wheel) and possibly also a source package (tarball). I need to include a reference file and a help file. I believe I can do this for the source package just by stating them in MANIIFEST.in, but all the information I have found on the Web states that for a binary package I need to use setup.py.
This Python tutorial states
Static metadata (setup.cfg) should be preferred. Dynamic metadata (setup.py) should be used only as an escape hatch when absolutely necessary. setup.py used to be required, but can be omitted with newer versions of setuptools and pip.
I would prefer to follow the official recommendation, is there a way to include my files with a statement in setup.cfg perhaps?
This Python tutorial states
Static metadata (setup.cfg) should be preferred. Dynamic metadata (setup.py) should be used only as an escape hatch when absolutely necessary. setup.py used to be required, but can be omitted with newer versions of setuptools and pip.
I would prefer to follow the official recommendation, is there a way to include my files with a statement in setup.cfg perhaps?