Hi, recently tried to cross-compile pyscard using Yocto(openembedded) system. Pyscard uses distutils, but it is hardcoded to /usr/include/PCSC include path in setup.py:
platform_include_dirs = ['/usr/include/PCSC']
This breaks cross compilation, because it needs to be linked to sysroot, which is different path.
I am not really python module installation specialist, so I can't suggest a fix which is correct for distutils.
Embedded systems are becoming really popular (especially Linux+NFC), so this fix would be a great boost for this library.