[Python-checkins] python/dist/src/Lib/distutils/command bdist_wininst.py,1.27.4.2,1.27.4.3
anthonybaxter@sourceforge.net
anthonybaxter@sourceforge.net
Wed, 17 Apr 2002 19:30:41 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv8709
Modified Files:
Tag: release22-maint
bdist_wininst.py
Log Message:
corrected backport. 'patch' made me sad, it got it horribly wrong
(no idea why, or how)
backport theller's patch
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.
Index: bdist_wininst.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_wininst.py,v
retrieving revision 1.27.4.2
retrieving revision 1.27.4.3
diff -C2 -d -r1.27.4.2 -r1.27.4.3
*** bdist_wininst.py 18 Apr 2002 02:19:46 -0000 1.27.4.2
--- bdist_wininst.py 18 Apr 2002 02:30:39 -0000 1.27.4.3
***************
*** 85,88 ****
--- 85,89 ----
install = self.reinitialize_command('install')
install.root = self.bdist_dir
+ install.warn_dir = 0
install_lib = self.reinitialize_command('install_lib')
***************
*** 99,103 ****
setattr(install,
'install_' + key,
- install.warn_dir = 0
value)
--- 100,103 ----