LudovicRousseau / pyscard

pyscard smartcard library for python
http://pyscard.sourceforge.net/
GNU Lesser General Public License v2.1
377 stars 108 forks source link

Use include path from pkg-config #124

Closed 1-Byte closed 2 years ago

1-Byte commented 2 years ago

To install this package even when pcsclite is installed to a custom directory (with ./configure --prefix=/foo/bar), the setup process checks if pkg-config returns valid compiler flags. It falls back to the default directories otherwise. As a result, pip install pyscard works with a customized installation of pcsclite.