From 427782ba62c787a4757d9fd40e9619a765ca8d35 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Thu, 15 Nov 2018 13:55:55 +0300 Subject: [PATCH] PY-26654 Exclude setup.py and test folder from pydev helpers --- .../intellij/build/pycharm/PyCharmPropertiesBase.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/build/groovy/org/jetbrains/intellij/build/pycharm/PyCharmPropertiesBase.groovy b/python/build/groovy/org/jetbrains/intellij/build/pycharm/PyCharmPropertiesBase.groovy index ed3e6f5ec595..a7be3de81541 100644 --- a/python/build/groovy/org/jetbrains/intellij/build/pycharm/PyCharmPropertiesBase.groovy +++ b/python/build/groovy/org/jetbrains/intellij/build/pycharm/PyCharmPropertiesBase.groovy @@ -35,7 +35,10 @@ abstract class PyCharmPropertiesBase extends ProductProperties { tasks.zipSourcesOfModules(["intellij.python.community", "intellij.python.psi"], "$targetDirectory/lib/src/pycharm-openapi-src.zip") context.ant.copy(todir: "$targetDirectory/helpers") { - fileset(dir: "$context.paths.communityHome/python/helpers") + fileset(dir: "$context.paths.communityHome/python/helpers") { + exclude(name: "**/setup.py") + exclude(name: "pydev/test**/**") + } } context.ant.copy(todir: "$targetDirectory/help", failonerror: false) { fileset(dir: "$context.paths.projectHome/python/help") {