summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Parent <john.parent@kitware.com>2023-01-06 13:26:01 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2023-01-09 09:14:17 -0800
commitc0eb2cf9e6708eecfc74189f97a9790515f64999 (patch)
tree5af2947961ddd7729a88853c0b59e2841ac070e1
parent9f0bb4301f0514a9367ca9289ceb6a5cf2b3bfa0 (diff)
downloadspack-c0eb2cf9e6708eecfc74189f97a9790515f64999.tar.gz
spack-c0eb2cf9e6708eecfc74189f97a9790515f64999.tar.bz2
spack-c0eb2cf9e6708eecfc74189f97a9790515f64999.tar.xz
spack-c0eb2cf9e6708eecfc74189f97a9790515f64999.zip
Update haspywin
Inform user Spack is installing pyWin32 module behind the scenes. This is neccesary for Windows support.
-rw-r--r--bin/haspywin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/haspywin.py b/bin/haspywin.py
index e19d902e28..c40eefdd32 100644
--- a/bin/haspywin.py
+++ b/bin/haspywin.py
@@ -10,6 +10,7 @@ def getpywin():
try:
import win32con # noqa: F401
except ImportError:
+ print("pyWin32 not installed but is required...\nInstalling via pip:")
subprocess.check_call([sys.executable, "-m", "pip", "-q", "install", "--upgrade", "pip"])
subprocess.check_call([sys.executable, "-m", "pip", "-q", "install", "pywin32"])