cudf icon indicating copy to clipboard operation
cudf copied to clipboard

[FEA] Install `*.pyi` stub files

Open madsbk opened this issue 3 years ago • 3 comments

As far as I can see, we do not install the type stub files such as column.pyi. At least, building cudf and libcudf don't seem to install them?

./build.sh libcudf cudf 

Currently, I copy the *.pyi files manually to make the IntelliSense in Visual Studio Code work correctly.

cp python/cudf/cudf/_lib/*.pyi <CondaENV>/lib/python3.9/site-packages/cudf/_lib/

Am I missing something?

madsbk avatar Aug 09 '22 07:08 madsbk

Likely they need to be included in the package_data?

shwina avatar Aug 09 '22 10:08 shwina

Likely they need to be included in the package_data?

Yes, similar to how we handle *.pxd: https://github.com/rapidsai/cudf/blob/branch-22.10/python/cudf/setup.py#L149

madsbk avatar Aug 09 '22 11:08 madsbk

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Sep 08 '22 12:09 github-actions[bot]