Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(typehinting): add `py.typed` marker to package This will allow static type checkers to recognized the package's type hints per PEP-561 Fixes issue pyvista#2903 * fix(package-data): add `py.typed` to `package_data` * Add newline to end of py.typed * feat(setuptools): add type hint files to `MANIFEST.in` and set `zip_safe=False` `mypy` requires packages built with `setuptools` use the `zip_safe=False` option so it can find the package and `*.pyi` and `*.typed` files be added to the `MANIFEST.in` so they are included in the `sdist`. See https://mypy.readthedocs.io/en/latest/installed_packages.html#creating-pep-561-compatible-packages * Add newline to end of MANIFEST.in Co-authored-by: Hendry, Adam <[email protected]> Co-authored-by: Andras Deak <[email protected]>
- Loading branch information