[issue20106] warn_dir is always true for install_data, even if an install_dir is specified

Tabrez Mohammed report at bugs.python.org
Thu Jan 2 11:19:39 CET 2014


New submission from Tabrez Mohammed:

In run(), there is a warning message printed to the console if warn_dir is '1':
  if self.warn_dir:
    self.warn("setup script did not provide a directory for "
              "'%s' -- installing right in '%s'" %
             (f, self.install_dir))

warn_dir should be unset in run to suppress the warning if an install_dir is specified.

----------
components: Distutils
messages: 207148
nosy: tabrezm
priority: normal
severity: normal
status: open
title: warn_dir is always true for install_data, even if an install_dir is specified
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20106>
_______________________________________


More information about the Python-bugs-list mailing list