Add py.typed to support PEP-561 (type-hinting) for mlx (#588)

* Add `py.typed` to support PEP-561 (type-hinting)

This adds support for type-hinting information as laid in [PEP-561](https://peps.python.org/pep-0561/).

* add py.typed to MANIFEST.in
This commit is contained in:
Sugato Ray 2024-01-31 15:05:42 -05:00 committed by GitHub
parent fcc5ac1c64
commit 4a5f3b21bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
include CMakeLists.txt include CMakeLists.txt
recursive-include mlx/ * recursive-include mlx/ *
include python/src/* include python/src/*
python/mlx/py.typed # support type hinting as in PEP-561

1
python/mlx/py.typed Normal file
View File

@ -0,0 +1 @@