fix(python): publish package types (#2543)

* fix: publish types to consumers

* chore: add changelog
pull/2549/head
Juliya Smith 2 years ago committed by GitHub
parent 448f97b736
commit cc49e2922d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Fixed issue where type declarations were not visible to consumer packages.

@ -57,6 +57,7 @@ setup(
+ (CWD / "CHANGELOG.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/trezor/trezor-firmware/tree/master/python",
package_data={"trezorlib": ["py.typed"]},
packages=find_packages("src"),
package_dir={"": "src"},
entry_points={"console_scripts": ["trezorctl=trezorlib.cli.trezorctl:cli"]},

Loading…
Cancel
Save