Update ModulesValidate.py

This commit is contained in:
David Maisonave
2025-01-06 16:10:15 -05:00
parent df68744293
commit 2d5cef3abc

View File

@@ -9,6 +9,7 @@
# To test, uninstall packages via command line: pip uninstall -y watchdog schedule requests # To test, uninstall packages via command line: pip uninstall -y watchdog schedule requests
import sys, os, pathlib, platform, traceback import sys, os, pathlib, platform, traceback
# ToDo: Add logic to optionally pull package requirements from requirements.txt file. # ToDo: Add logic to optionally pull package requirements from requirements.txt file.
# Add logic to report error sys.exit(126) -- 126 (0x7E) ERROR_MOD_NOT_FOUND: The specified module could not be found.
def modulesInstalled(moduleNames, install=True, silent=False): def modulesInstalled(moduleNames, install=True, silent=False):
retrnValue = True retrnValue = True