Skip to content

Commit 81a38eb

Browse files
committed
Add missing py.typed to menu
1 parent 6aae87b commit 81a38eb

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ def parse_meta() -> types.SimpleNamespace:
1212
with open(os.path.join(name, "internal", "about.py")) as fp:
1313
code = fp.read()
1414

15-
token_pattern = re.compile(r"^__(?P<key>\w+)?__\s*:?.*=\s*(?P<quote>(?:'{3}|\"{3}|'|\"))(?P<value>.*?)(?P=quote)", re.M)
15+
token_pattern = re.compile(
16+
r"^__(?P<key>\w+)?__\s*:?.*=\s*(?P<quote>(?:'{3}|\"{3}|'|\"))(?P<value>.*?)(?P=quote)", re.M
17+
)
1618

1719
groups = {}
1820

@@ -47,15 +49,12 @@ def parse_requirements_file(path: str) -> t.List[str]:
4749
maintainer=meta.maintainer,
4850
url=meta.url,
4951
packages=find_namespace_packages(include=[name + "*"]),
50-
package_data={"miru": ["py.typed"], "miru.ext.nav": ["py.typed"]},
52+
package_data={"miru": ["py.typed"], "miru.ext.nav": ["py.typed"], "miru.ext.menu": ["py.typed"]},
5153
license=meta.license,
5254
include_package_data=True,
5355
zip_safe=False,
5456
install_requires=parse_requirements_file("requirements.txt"),
55-
extras_require={
56-
':sys_platform=="win32"': ["colorama"],
57-
"docs": parse_requirements_file("doc_requirements.txt"),
58-
},
57+
extras_require={':sys_platform=="win32"': ["colorama"], "docs": parse_requirements_file("doc_requirements.txt")},
5958
python_requires=">=3.8.0,<3.13",
6059
classifiers=[
6160
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)