Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Enabling the Python Nature in python projects

Ryan Kurtz9d7c80c71a4c
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}")