

# Dont checkout all files
IGNORE_FILES = [
    "__init__.py",
    ".gitignore",
    "LICENSE",
    "README.md",
    "config.ini",
    "Source/config_module.cpp",
    "Source/config_module.h",
    "Source/ExampleClass.cpp",
    "Source/ExampleClass.h",
    "Source/ExampleClass.I",
]

import sys
import os
sys.path.insert(0, "../../")
from Code.Util.SubmoduleDownloader import SubmoduleDownloader

if __name__ == "__main__":
    curr_dir = os.path.dirname(os.path.realpath(__file__))
    SubmoduleDownloader.download_submodule("tobspr", "P3DModuleBuilder", curr_dir, IGNORE_FILES)



# Dont checkout all files
IGNORE_FILES = [
    "__init__.py",
    ".gitignore",
    "LICENSE",
    "README.md",
    "config.ini",
    "Source/config_module.cpp",
    "Source/config_module.h",
    "Source/ExampleClass.cpp",
    "Source/ExampleClass.h",
    "Source/ExampleClass.I",
]

import sys
import os
sys.path.insert(0, "../../")
from Code.Util.SubmoduleDownloader import SubmoduleDownloader

if __name__ == "__main__":
    curr_dir = os.path.dirname(os.path.realpath(__file__))
    SubmoduleDownloader.download_submodule("tobspr", "P3DModuleBuilder", curr_dir, IGNORE_FILES)

    # Make the init file at the Scripts directory
    with open(os.path.join(curr_dir, "Scripts/__init__.py"), "w") as handle:
        pass

Fix missing __init__ in native directory
Fix missing __init__ in native directory

  
  
  # Dont checkout all files
  IGNORE_FILES = [
      "__init__.py",
      ".gitignore",
      "LICENSE",
      "README.md",
      "config.ini",
      "Source/config_module.cpp",
      "Source/config_module.h",
      "Source/ExampleClass.cpp",
      "Source/ExampleClass.h",
      "Source/ExampleClass.I",
  ]
  
  import sys
  import os
  sys.path.insert(0, "../../")
  from Code.Util.SubmoduleDownloader import SubmoduleDownloader
  
  if __name__ == "__main__":
      curr_dir = os.path.dirname(os.path.realpath(__file__))
      SubmoduleDownloader.download_submodule("tobspr", "P3DModuleBuilder", curr_dir, IGNORE_FILES)
  
+     # Make the init file at the Scripts directory
+     with open(os.path.join(curr_dir, "Scripts/__init__.py"), "w") as handle:
+         pass
+ 
Fix missing __init__ in native directory
## Code Before:


# Dont checkout all files
IGNORE_FILES = [
    "__init__.py",
    ".gitignore",
    "LICENSE",
    "README.md",
    "config.ini",
    "Source/config_module.cpp",
    "Source/config_module.h",
    "Source/ExampleClass.cpp",
    "Source/ExampleClass.h",
    "Source/ExampleClass.I",
]

import sys
import os
sys.path.insert(0, "../../")
from Code.Util.SubmoduleDownloader import SubmoduleDownloader

if __name__ == "__main__":
    curr_dir = os.path.dirname(os.path.realpath(__file__))
    SubmoduleDownloader.download_submodule("tobspr", "P3DModuleBuilder", curr_dir, IGNORE_FILES)

## Instruction:
Fix missing __init__ in native directory
## Code After:


# Dont checkout all files
IGNORE_FILES = [
    "__init__.py",
    ".gitignore",
    "LICENSE",
    "README.md",
    "config.ini",
    "Source/config_module.cpp",
    "Source/config_module.h",
    "Source/ExampleClass.cpp",
    "Source/ExampleClass.h",
    "Source/ExampleClass.I",
]

import sys
import os
sys.path.insert(0, "../../")
from Code.Util.SubmoduleDownloader import SubmoduleDownloader

if __name__ == "__main__":
    curr_dir = os.path.dirname(os.path.realpath(__file__))
    SubmoduleDownloader.download_submodule("tobspr", "P3DModuleBuilder", curr_dir, IGNORE_FILES)

    # Make the init file at the Scripts directory
    with open(os.path.join(curr_dir, "Scripts/__init__.py"), "w") as handle:
        pass
