From 9d7c80c71a4cc2cb28a339afea83a5b9c80d4dd1 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Fri, 5 Jul 2024 10:37:56 -0400 Subject: [PATCH] GP-0: Enabling the Python Nature in python projects --- gradle/debugger/hasPythonPackage.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gradle/debugger/hasPythonPackage.gradle b/gradle/debugger/hasPythonPackage.gradle index 2d83cf0cd3..23230500a6 100644 --- a/gradle/debugger/hasPythonPackage.gradle +++ b/gradle/debugger/hasPythonPackage.gradle @@ -18,6 +18,11 @@ * NOTE: Supported Python3 command is established by root project build.gradle */ +// Enable the Python Nature in the Eclipse project +eclipse.project { + natures 'org.python.pydev.pythonNature' +} + ext.findPyDep = { name -> File inDeps = file("${DEPS_DIR}/${project.name}/${name}") File inRepo = file("${BIN_REPO}/${getGhidraRelativePath(project)}/${name}")