From cccdd2b91b566862a56b81ec327df740495a8350 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 22 Jan 2020 22:54:06 +0100 Subject: [PATCH] nsis: Ship Python stdlib *.pyd files. This fixes bug #1409. --- contrib/sigrok-cli_cross.nsi.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/sigrok-cli_cross.nsi.in b/contrib/sigrok-cli_cross.nsi.in index 196a107..c28668a 100644 --- a/contrib/sigrok-cli_cross.nsi.in +++ b/contrib/sigrok-cli_cross.nsi.in @@ -1,7 +1,7 @@ ## ## This file is part of the sigrok-cli project. ## -## Copyright (C) 2011-2014 Uwe Hermann +## Copyright (C) 2011-2020 Uwe Hermann ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -129,6 +129,7 @@ Section "@PACKAGE_NAME@ (required)" Section1 # Python File "${CROSS}/python34.dll" File "${CROSS}/python34.zip" + File "${CROSS}/*.pyd" SetOutPath "$INSTDIR\share" @@ -236,6 +237,7 @@ Section "Uninstall" Delete "$INSTDIR\zadig_xp.exe" Delete "$INSTDIR\python34.dll" Delete "$INSTDIR\python34.zip" + Delete "$INSTDIR\*.pyd" # Delete all decoders and everything else in libsigrokdecode/. # There could be *.pyc files or __pycache__ subdirs and so on. -- 2.30.2