private static @NotNull PathHelperPackage findModule(String moduleEntryPoint, String path, boolean asModule, String[] thirdPartyDependencies) {
    List<HelperDependency> dependencies = HelperDependency.findThirdPartyDependencies(thirdPartyDependencies);

    if (findFileInHelpers(path + ".zip") != null) {
      return new ModuleHelperPackage(moduleEntryPoint, path + ".zip", dependencies);
    }

    if (!asModule && new File(findFileInHelpers(path), moduleEntryPoint + ".py").isFile()) {
      return new ScriptPythonHelper(moduleEntryPoint + ".py", findFileInHelpers(path), dependencies);
    }

    return new ModuleHelperPackage(moduleEntryPoint, path, dependencies);
  }
private static @NotNull PathHelperPackage findModule(String moduleEntryPoint, String path, boolean asModule, String[] thirdPartyDependencies)