Skip to content

packaging: ship py.typed marker - #22

Open
fametrano wants to merge 1 commit into
spesmilo:masterfrom
fametrano:electrum-ecc-py-typed
Open

packaging: ship py.typed marker#22
fametrano wants to merge 1 commit into
spesmilo:masterfrom
fametrano:electrum-ecc-py-typed

Conversation

@fametrano

Copy link
Copy Markdown
Contributor

The package ships type annotations but no PEP 561 py.typed marker, so a downstream mypy user does not see them.

This adds an empty py.typed and declares it as package data, so the marker ships in the wheel (verified by building with ELECTRUM_ECC_DONT_COMPILE=1).

Add an empty py.typed marker and a setuptools package-data entry so the
package advertises its inline type annotations to downstream type
checkers per PEP 561.
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