1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

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

* fix: publish types to consumers

* chore: add changelog
This commit is contained in:
Juliya Smith 2022-10-06 09:12:05 -05:00 committed by GitHub
parent 448f97b736
commit cc49e2922d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 0 deletions

View File

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

View File

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

View File