add file marker for type checking (#1598)

I think this is the correct way to do this based on my understanding of
the guide to making a [pep561 compliant
package](https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages)
and this example in
[black](https://github.com/psf/black/pull/1395/files). Given that I get
all the type-checking info from a local installation, I don't know if
this is testable until it's published on Pypi.

resolves #1210
This commit is contained in:
Lucien Morey
2024-11-21 15:43:05 +11:00
committed by GitHub
parent 08b4bd1f03
commit fa66ed866c
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1 @@

View File

@@ -55,6 +55,7 @@ descriptionStr = f"Pure-python implementation of PhotonLib for interfacing with
setup(
name="photonlibpy",
packages=find_packages(),
package_data={"photonlibpy": ["py.typed"]},
version=versionString,
install_requires=[
"numpy~=2.1",