pyrelic/_relic.pxd and pyrelic/_relic.pyi can be removed?
Closed this issue · 2 comments
duanbing commented
Hi, When I build this repo after I deleted pxd and pyi, it works too. is it true?
duanbing commented
sebastinas commented
They cannot be removed. pyrelic/_relic.pxd
is required to produce pyrelic/_relic.c
. So if the C code needs to be regenerated, cython won't be able to do that without the pxd file. pyrelic/_relic.pyi
is consumed by type checkers such as mypy. If you don't care about type annotations, then you can remove it.