LudovicRousseau / pyscard

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

Add libpcsclite-dev to system requirements #99

Closed ThunderHorner closed 3 years ago

ThunderHorner commented 3 years ago

Can you add libpcsclite-dev to system requirements. For the people in the feauture which encounter this error:

card/helpers.c:28:10: fatal error: winscard.h: No such file or directory

or handle the error:

libpsclite-dev is not insalled. Please run sudo apt-get install libpcsclite-dev

LudovicRousseau commented 3 years ago

libpcsclite-dev is the name of the Debian/Ubuntu package. For RedHat/CentOS it is pcsc-lite-devel. For Windows I don't know. For macOS it is installed with Xcode.

What patch do you propose to support all these systems?

LudovicRousseau commented 3 years ago

Please come back with a solution if you have one.