From 670266198729ea4264915d3f635ff0735d2cd5bf Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Wed, 3 May 2017 22:32:58 +0200 Subject: cmake/MSYS2: Exclude python testsuite from install (those are unittests for Python itself, unittest module is still included) (bzr r15660) --- CMakeScripts/InstallMSYS2.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeScripts') diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake index c6690bbe9..aac4fd648 100644 --- a/CMakeScripts/InstallMSYS2.cmake +++ b/CMakeScripts/InstallMSYS2.cmake @@ -221,7 +221,9 @@ if(WIN32) DESTINATION ${CMAKE_INSTALL_PREFIX}) install(DIRECTORY ${MINGW_LIB}/python2.7 DESTINATION ${CMAKE_INSTALL_PREFIX}/lib - PATTERN "python2.7/site-packages" EXCLUDE) + PATTERN "python2.7/site-packages" EXCLUDE # specify individual packages to install below + PATTERN "python2.7/test" EXCLUDE # we don't need the Python testsuite + ) set(site_packages "lib/python2.7/site-packages") # Python packages installed via pacman -- cgit v1.2.3