Closed sk- closed 3 weeks ago
In PR #54, the file py.typed was added, however it was not added to the list of pacakge_data files in setup.py, meaning it is not present in the wheel, as seen by the following command:
py.typed
pacakge_data
setup.py
$ unzip -l ~/Downloads/puremagic-1.25-py3-none-any.whl Archive: /Users/user/Downloads/puremagic-1.25-py3-none-any.whl Length Date Time Name --------- ---------- ----- ---- 102 06-19-2024 03:37 puremagic/__init__.py 90 06-19-2024 03:37 puremagic/__main__.py 143189 06-19-2024 03:37 puremagic/magic_data.json 15622 06-19-2024 03:37 puremagic/main.py 1086 06-19-2024 03:37 puremagic-1.25.dist-info/LICENSE 5834 06-19-2024 03:37 puremagic-1.25.dist-info/METADATA 92 06-19-2024 03:37 puremagic-1.25.dist-info/WHEEL 10 06-19-2024 03:37 puremagic-1.25.dist-info/top_level.txt 703 06-19-2024 03:37 puremagic-1.25.dist-info/RECORD --------- ------- 166728 9 files
See this Github query for examples where py.typed is correctly added to the setup.py file.
Thanks for the fixes, addressed in 1.27!
In PR #54, the file
py.typed
was added, however it was not added to the list ofpacakge_data
files insetup.py
, meaning it is not present in the wheel, as seen by the following command:See this Github query for examples where
py.typed
is correctly added to thesetup.py
file.