8000 TYP: Backport typing fixes from main (2) by charris · Pull Request #28533 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TYP: Backport typing fixes from main (2) #28533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 15, 2025
Prev Previous commit
Next Next commit
TYP: stub numpy._pyinstaller
Ported from numpy/numtype#264
  • Loading branch information
jorenham authored and charris committed Mar 15, 2025
commit 12ab7f51975ad384a9fcb44e88d56d9280da4afb
Empty file added numpy/_pyinstaller/__init__.pyi
Empty file.
13 changes: 13 additions & 0 deletions numpy/_pyinstaller/hook-numpy.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from typing import Final

# from `PyInstaller.compat`
is_conda: Final[bool]
is_pure_conda: Final[bool]

# from `PyInstaller.utils.hooks`
def is_module_satisfies(requirements: str, version: None = None, version_attr: None = None) -> bool: ...

binaries: Final[list[tuple[str, str]]]

hiddenimports: Final[list[str]]
excludedimports: Final[list[str]]
0