Skip to content

Instantly share code, notes, and snippets.

@kokoye2007
Created November 6, 2021 03:52
Show Gist options
  • Save kokoye2007/73b0e3bf3b16d3b712b8550c33ee9c59 to your computer and use it in GitHub Desktop.
Save kokoye2007/73b0e3bf3b16d3b712b8550c33ee9c59 to your computer and use it in GitHub Desktop.
snap for pyscard patch
From 6dd501199c1323a49f2e64e75c886a1d0b652577 Mon Sep 17 00:00:00 2001
From: kokoye2007 <[email protected]>
Date: Thu, 20 Feb 2020 18:05:59 +0100
Subject: [PATCH] setup.py: add typical snapcraft location of PCSC
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 3795389..27ad71a 100755
--- a/setup.py
+++ b/setup.py
@@ -67,7 +67,7 @@
else:
platform__cc_defines = [('PCSCLITE', '1')]
platform_swig_opts = ['-DPCSCLITE']
- platform_include_dirs = ['/usr/include/PCSC', '/usr/local/include/PCSC']
+ platform_include_dirs = ['usr/include/PCSC', 'usr/local/include/PCSC', '/snap/cryptnox/current/usr/include/PCSC', '/snap/cryptnox/current/usr/local/include/PCSC']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment