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

Tabrez Mohammed report at bugs.python.org
Thu Nov 20 03:42:10 CET 2014


Tabrez Mohammed added the comment:

I don't have access to the code anymore that repro'ed this issue. I just remember writing a setup script for a module I was working on, and when 'install' was run, it would print this error message.

It's pretty easy to see in code what the problem is though. In install_data.py, warn_dir is set to '1' in initialize_options(), but it's value is never altered. So regardless of what is or isn't passed in, the warning will always be printed.

----------

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


More information about the Python-bugs-list mailing list