private void createNamespacePackage(String pkg) {
		int index = pkg.indexOf('.');
		if (index != -1) {
			pkg = pkg.substring(0, index) + "-stubs" + pkg.substring(index);
		}
		else {
			pkg += "-stubs";
		}

		File fp = new File(destDir, pkg.replace('.', '/') + "/__init__.pyi");
		try {
			fp.getParentFile().mkdirs();
			fp.createNewFile();
		}
		catch (IOException e) {
			// ignored
		}
	}
Creates a namespace package for the provided package if one does not yet exist

@param pkg the package to create
GhidraBuild/BuildFiles/Doclets/src/main/java/ghidra/doclets/typestubs/PythonTypeStubDoclet.java