Issue 20819: reinitialize_command doesn't clear install_lib on install and install_lib commands (original) (raw)

Issue20819

Created on 2014-03-02 00:28 by jaraco, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg212530 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2014-03-02 00:28
The setuptools source references a "distutils bug" here: https://bitbucket.org/pypa/setuptools/src/85760c42740829000a19ebf708d0a9cd565bb0eb/setuptools/command/bdist_wininst.py?at=default#cl-7 From what I infer from that message, the bug is that 'reinitialize_command' doesn't clear the 'install_lib' property on the 'install' or 'install_lib' commands. I'm actually skeptical that setuptools even needs to clear the 'install_lib' property on the 'install_lib' command, for as best as I can tell, the install_lib command only ever sets install_dir. Nevertheless, I wanted to log a ticket to reference in the code to ultimately find a solution rather than a workaround.
msg212902 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-07 21:54
If there is indeed a bug, I fear this is one of these areas where a fix actually breaks other build tools reusing distutils internals.
msg386423 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:30
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 you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2022-04-11 14:57:59 admin set github: 65018
2021-02-03 18:30:34 steve.dower set status: open -> closednosy: + steve.dowermessages: + resolution: out of datestage: resolved
2014-03-07 21:54:46 eric.araujo set nosy: + eric.araujomessages: + versions: - Python 3.1, Python 2.7, Python 3.2, Python 3.3, Python 3.4
2014-03-02 00:28:56 jaraco create