MCPcopy Create free account
hub / github.com/Jaysmito101/TerraForge3D / __ValidatePackage

Method __ValidatePackage

scripts/SetupPython.py:27–30  ·  view source on GitHub ↗
(cls, packageName)

Source from the content-addressed store, hash-verified

25
26 @classmethod
27 def __ValidatePackage(cls, packageName):
28 if importlib_util.find_spec(packageName) is None:
29 return cls.__InstallPackage(packageName)
30 return True
31
32 @classmethod
33 def __InstallPackage(cls, packageName):

Callers 2

ValidateMethod · 0.80
__InstallPackageMethod · 0.80

Calls 1

__InstallPackageMethod · 0.80

Tested by

no test coverage detected