Skip to content

Instantly share code, notes, and snippets.

@kokoye2007
Created August 12, 2022 02:49
Show Gist options
  • Save kokoye2007/75ef6722fb123257552dd4e7040fbb79 to your computer and use it in GitHub Desktop.
Save kokoye2007/75ef6722fb123257552dd4e7040fbb79 to your computer and use it in GitHub Desktop.
diff --git a/setup.py b/setup.py
index dda37f5..20854fd 100755
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ else:
pkg_config_cflags = subprocess.check_output(['pkg-config', '--cflags', 'libpcsclite'])
platform_extra_compile_args += shlex.split(pkg_config_cflags.decode())
except:
- 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']
VERSION_INFO = (2, 0, 3, 0)
VERSION_STR = '%i.%i.%i' % VERSION_INFO[:3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment