summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSumanto Kar2024-09-13 01:06:21 +0530
committerGitHub2024-09-13 01:06:21 +0530
commit5865b5d9a2375971fe2ec1cbcc3e9344f138907d (patch)
tree5255b69fbc69c36c7af708522c46e0160aaa26c4 /src
parent681978c7ce1aedee54b0ce6601b789edca226395 (diff)
parentf958a620713414c072b3ed0aa4953d0329e1fedc (diff)
downloadeSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.tar.gz
eSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.tar.bz2
eSim-5865b5d9a2375971fe2ec1cbcc3e9344f138907d.zip
Merge pull request #281 from avinashlalotra/master
Removed distutils dependency
Diffstat (limited to 'src')
-rw-r--r--src/projManagement/Validation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py
index 23a66416..5f239163 100644
--- a/src/projManagement/Validation.py
+++ b/src/projManagement/Validation.py
@@ -19,7 +19,7 @@
import os
import re
-import distutils.spawn
+import shutil
class Validation:
@@ -170,7 +170,7 @@ class Validation:
def validateTool(self, toolName):
"""This function check if tool is present in the system."""
- return distutils.spawn.find_executable(toolName) is not None
+ return shutil.which(toolName) is not None
def validateSubcir(self, projDir, fileName):
"""