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:
parent
2f3d36a8a1
commit
79a30912b8
1
setup.py
1
setup.py
@ -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
2
vllm/py.typed
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Marker file for PEP 561.
|
||||||
|
# The vllm package uses inline types.
|
Loading…
x
Reference in New Issue
Block a user