[Python-checkins] python/dist/src/Lib/distutils/command bdist_dumb.py,1.16.26.1,1.16.26.2
anthonybaxter@sourceforge.net
anthonybaxter@sourceforge.net
Wed, 17 Apr 2002 19:32:27 -0700
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv9662
Modified Files:
Tag: release22-maint
bdist_dumb.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_dumb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_dumb.py,v
retrieving revision 1.16.26.1
retrieving revision 1.16.26.2
diff -C2 -d -r1.16.26.1 -r1.16.26.2
*** bdist_dumb.py 18 Apr 2002 02:19:46 -0000 1.16.26.1
--- bdist_dumb.py 18 Apr 2002 02:32:25 -0000 1.16.26.2
***************
*** 76,79 ****
--- 76,80 ----
install = self.reinitialize_command('install', reinit_subcommands=1)
install.root = self.bdist_dir
+ install.warn_dir = 0
self.announce("installing to %s" % self.bdist_dir)
***************
*** 82,86 ****
# And make an archive relative to the root of the
# pseudo-installation tree.
- install.warn_dir = 0
archive_basename = "%s.%s" % (self.distribution.get_fullname(),
self.plat_name)
--- 83,86 ----