tools: add system check to verify Python versions and Windows Defender status

This commit is contained in:
Juraj Michálek
2020-11-26 16:00:55 +01:00
parent a5fd7878db
commit c247c7fe2f
19 changed files with 890 additions and 100 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env python
import sys
expected_executable = sys.argv[1]
active_executable = sys.executable
if expected_executable != active_executable:
print("Failure. Expected executable does not match current executable.")
print("Expected:", expected_executable)
print("Active: ", active_executable)
sys.exit(1)