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

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.
@fametrano
fametrano force-pushed the electrum-ecc-py-typed branch from ab8f81c to b24725f Compare September 12, 2026 12:34
@fametrano

Copy link
Copy Markdown
Contributor Author

@SomberNight the CI tests run here has been in action_required since I opened this, so it has never run. Could you approve it?

It is a three-line change shipping the py.typed marker; the wheel was verified with ELECTRUM_ECC_DONT_COMPILE=1, as noted in the description.

@fametrano

Copy link
Copy Markdown
Contributor Author

@SomberNight CI tests is still action_required here and on #20.

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