From cc0b3cfb11b068cd98ceadbeeda0c868560a45ac Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Wed, 18 Sep 2024 12:11:50 -0400 Subject: [PATCH] GP-0: Backporting ignoring of python files --- .gitignore | 5 +++++ gradle/support/ip.gradle | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d829c0067e..a3ce6febfa 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,8 @@ Release *.log core.* !core.png +!core.py + +# python files +*.egg-info +__pycache__ diff --git a/gradle/support/ip.gradle b/gradle/support/ip.gradle index 0bb251a3bf..b7639bf87b 100644 --- a/gradle/support/ip.gradle +++ b/gradle/support/ip.gradle @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -135,6 +135,8 @@ def Map> getIpForModule(Project p) { exclude "**/data/build.xml" // language build file (generated for dev only) exclude "**/.vs/**" exclude "**/*.vcxproj.user" + exclude '**/__pycache__' + exclude '**/*.egg-info' } tree.each { file -> String ip = getIp(p.projectDir, file)