Kaydet (Commit) fd0e82a3 authored tarafından Thomas Heller's avatar Thomas Heller

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.
üst 1630520e
......@@ -81,6 +81,7 @@ class bdist_dumb (Command):
install = self.reinitialize_command('install', reinit_subcommands=1)
install.root = self.bdist_dir
install.skip_build = self.skip_build
install.warn_dir = 0
self.announce("installing to %s" % self.bdist_dir)
self.run_command('install')
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment