Add py.typed for mypy use
Allows mypy to type check when used in other packages via PEP 561.
This commit is contained in:
parent
754c9f8f64
commit
8d44cbbc64
|
@ -0,0 +1 @@
|
||||||
|
# https://peps.python.org/pep-0561/
|
3
setup.py
3
setup.py
|
@ -28,6 +28,9 @@ setup(
|
||||||
"transformers",
|
"transformers",
|
||||||
],
|
],
|
||||||
install_requires=packages,
|
install_requires=packages,
|
||||||
|
package_data={
|
||||||
|
"riffusion": ["py.typed"],
|
||||||
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
|
|
Loading…
Reference in New Issue