summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist_wininst.py
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2002-04-09 14:14:38 (GMT)
committerThomas Heller <theller@ctypes.org>2002-04-09 14:14:38 (GMT)
commitfd0e82a38507614a349571604c3050b6642e71e3 (patch)
tree020eb561bbb93c4c57ed8783f4ebca53608288e2 /Lib/distutils/command/bdist_wininst.py
parent1630520e5ce10aaf5769712d39d93bbeedb5b934 (diff)
downloadcpython-fd0e82a38507614a349571604c3050b6642e71e3.zip
cpython-fd0e82a38507614a349571604c3050b6642e71e3.tar.gz
cpython-fd0e82a38507614a349571604c3050b6642e71e3.tar.bz2
Set the warn_dir option to 0 before running the install command.
This suppresses bogus warnings about modules installed into a directory not in sys.path. Bugfix candidate.
Diffstat (limited to 'Lib/distutils/command/bdist_wininst.py')
-rw-r--r--Lib/distutils/command/bdist_wininst.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
index 33dc28e..1683bb3 100644
--- a/Lib/distutils/command/bdist_wininst.py
+++ b/Lib/distutils/command/bdist_wininst.py
@@ -98,6 +98,7 @@ class bdist_wininst (Command):
install = self.reinitialize_command('install')
install.root = self.bdist_dir
install.skip_build = self.skip_build
+ install.warn_dir = 0
install_lib = self.reinitialize_command('install_lib')
# we do not want to include pyc or pyo files