Skip to content

Ship readme.md/changelog.md in sdists (MANIFEST.in) so sdists build from source#54

Open
sethc555 wants to merge 1 commit into
wbond:masterfrom
sethc555:fix/sdist-source-build
Open

Ship readme.md/changelog.md in sdists (MANIFEST.in) so sdists build from source#54
sethc555 wants to merge 1 commit into
wbond:masterfrom
sethc555:fix/sdist-source-build

Conversation

@sethc555

Copy link
Copy Markdown

Two related notes: (1) the bug that breaks the RELEASED sdist on PyPI (setup.py importing the package, pulling asn1crypto) is already fixed on this branch's base — a release would fix source installs of the published version; (2) however, HEAD currently has a NEW sdist bug: setup.py reads readme.md, and nothing ships it in sdists, so an sdist cut from HEAD today cannot be installed either. This PR adds the two-line MANIFEST.in fixing that, so the next release's sdist works out of the box.

Verified: with this change, python -m build (sdist → wheel built from that sdist) succeeds in a clean python:3.12 container; without it, it fails. Found while build-checking popular PyPI packages for source-install breakage (wheelproof).

…eadme.md, so sdists built from this tree could not be installed from source.

Verified: with this change, python -m build (sdist -> wheel from that
sdist) succeeds in a clean python:3.12 container; without it, it fails.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant