public static File setupJythonHomeDir() throws IOException {

		File jythonModuleDir = Application.getMyModuleRootDirectory().getFile(false);
		File jythonHomeDir =
			Application.getModuleDataSubDirectory(jythonModuleDir.getName(), JYTHON_NAME)
					.getFile(false);

		if (!jythonHomeDir.exists()) {
			throw new IOException("Failed to find the jython home directory at: " + jythonHomeDir);
		}

		System.setProperty("jython.home", jythonHomeDir.getAbsolutePath());

		return jythonHomeDir;
	}
Sets up the jython home directory.  This is the directory that has the "Lib" directory in it.
 
@return The jython home directory.
@throws IOException If there was a disk-related problem setting up the home directory.
Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonUtils.java