diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index 7973e2f49f13..0effeba8eeb6 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -1,7 +1,7 @@ prune build include LICENSE include *.rst *.txt -recursive-include lightgbm VERSION.txt *.py *.so +recursive-include lightgbm VERSION.txt py.typed *.py *.so include compile/CMakeLists.txt include compile/cmake/IntegratedOpenCL.cmake recursive-include compile *.so diff --git a/python-package/lightgbm/py.typed b/python-package/lightgbm/py.typed new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/python-package/setup.py b/python-package/setup.py index 243dd5cb0af5..21d5b0336152 100644 --- a/python-package/setup.py +++ b/python-package/setup.py @@ -389,4 +389,5 @@ def run(self) -> None: 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', - 'Topic :: Scientific/Engineering :: Artificial Intelligence']) + 'Topic :: Scientific/Engineering :: Artificial Intelligence', + 'Typing :: Typed'])