From: Uwe Hermann Date: Wed, 22 Jan 2020 21:54:06 +0000 (+0100) Subject: nsis: Ship Python stdlib *.pyd files. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cccdd2b91b566862a56b81ec327df740495a8350;p=sigrok-cli.git nsis: Ship Python stdlib *.pyd files. This fixes bug #1409. --- 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.