Skip to content

Commit 0c4b377

Browse files
setup.py: add py.typed file to wheels and installs.
See PEP-561. Also removed recently-added src/py.typed, as it did not appear in wheels/installs and is not required.
1 parent 4cdac46 commit 0c4b377

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ def add(flavour, from_, to_):
665665
add('p', f'{g_root}/src/_wxcolors.py', to_dir)
666666
add('p', f'{g_root}/src/_apply_pages.py', to_dir)
667667
add('p', f'{g_root}/src/build/extra.py', to_dir)
668+
add('p', b'', f'{to_dir}/py.typed')
668669
if path_so_leaf:
669670
add('p', f'{g_root}/src/build/{path_so_leaf}', to_dir)
670671

src/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)