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

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

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

2014-11-19 Thread Tabrez Mohammed
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.

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

2014-11-19 Thread Éric Araujo
Éric Araujo added the comment: Can you give us steps to reproduce the issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2014-11-19 Thread Tabrez Mohammed
Tabrez Mohammed added the comment: The former. I copy/pasted the code block to show from where the warning message was being printed. -- ___ Python tracker ___ _

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

2014-11-19 Thread Éric Araujo
Éric Araujo added the comment: Does this cause a warning to be printed out when it should not? Or did you find this by reading the code? [I think I remember this code being changed in the (now defunct) distutils2 project.] -- versions: +Python 3.5 -Python 3.3 ___

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

2014-11-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +dstufft, eric.araujo stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailin

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

2014-01-02 Thread Tabrez Mohammed
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 s