jborean93 / pykrb5

Python krb5 API interface
MIT License
17 stars 8 forks source link

Packaging .pxd files #60

Closed chamakuri-vineel closed 1 month ago

chamakuri-vineel commented 1 month ago

Hi, Thanks for writing this library, It is very useful. I am planning to build a new python extension module and it needs access to some of the extension types used in pykrb5. I want to access the Cython level functions and attributes but currently I see that pykrb5 doesn't ship it's .pxd files. Adding those files will be really helpful as I don't have to re-implement them again. Do you have any plans of shipping .pxd files?

Thanks, Chamakuri Vineel

jborean93 commented 1 month ago

The published sdist contains both the .pyx and .pxd files. I don't include them in the wheels because it contains the already compiled code for a particular platform and I typically don't include the source for them in a wheel.

Also keep in mind the interfaces of these classes are not publicly documented so can (and has changed) over a release.

chamakuri-vineel commented 1 month ago

Thanks for the details.