What belongs in the manifest? #1708
-
I've noticed that some top-level files that are often not included in sdist and wheel distributions for PyPI, such as In spite of being top-level in the repository, arguably A perhaps better reason to omit it is that researchers reporting vulnerabilities are always best informed by whatever the latest guidance in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
That's a great question, and one I have no answer for. I think historically this template was created based on a list of files from the old days without deep thinking, and it hasn't been updated since. To my mind, it should contain whatever is customary so it matches the average person's expectation, but I don't have preferences myself. In Rust, I let my crates only contain the source (without tests), the license and a changelog, as all of these affect the usage of the contents of the package, just because this makes sense to me. |
Beta Was this translation helpful? Give feedback.
That's a great question, and one I have no answer for.
I think historically this template was created based on a list of files from the old days without deep thinking, and it hasn't been updated since.
To my mind, it should contain whatever is customary so it matches the average person's expectation, but I don't have preferences myself.
In Rust, I let my crates only contain the source (without tests), the license and a changelog, as all of these affect the usage of the contents of the package, just because this makes sense to me.