Add py.typed so consumers of vLLM can get type checking (#1509)

* Add py.typed so consumers of vLLM can get type checking

* Update py.typed

---------
Co-authored-by: aarnphm <29749331+aarnphm@users.noreply.github.com>
Co-authored-by: Zhuohan Li <zhuohan123@gmail.com>
This commit is contained in:
Jared Roesch 2023-10-30 14:50:47 -07:00 committed by GitHub
parent 2f3d36a8a1
commit 79a30912b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -278,4 +278,5 @@ setuptools.setup(
install_requires=get_requirements(), install_requires=get_requirements(),
ext_modules=ext_modules, ext_modules=ext_modules,
cmdclass={"build_ext": BuildExtension}, cmdclass={"build_ext": BuildExtension},
package_data={"vllm": ["py.typed"]},
) )

2
vllm/py.typed Normal file
View File

@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The vllm package uses inline types.