--home on non-POSIX platforms
Some time in the distant past, it was decided that "install --home" would only be supported on platforms for which os.name == "posix". I think that decision should be re-visited. If a user specifies "--home <some-path>" on the setup.py command line, is there ever a reason to tell them they don't want the software to the installed in that way? Enabling --home for all platforms looks trivial from a quick review of distutils.command.install. Are there any objections to enabling this for all platforms in Python 2.4? -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
On Fri, 25 Jun 2004, Fred L. Drake, Jr. wrote:
If a user specifies "--home <some-path>" on the setup.py command line, is there ever a reason to tell them they don't want the software to the installed in that way? Enabling --home for all platforms looks trivial from a quick review of distutils.command.install.
Are there any objections to enabling this for all platforms in Python 2.4?
I vote +1. It never made sense to me to disable that feature on Windows. After all, the PYTHONPATH environment variable wasn't disabled on Windows because "it doesn't make sense on that platform", why then should we disable installing into a directory of our choice on that platform? David H.
On Friday 25 June 2004 01:33 pm, David Handy wrote:
I vote +1.
Given that the patch was simple (and Tim Peters tested it on Windows for me), has a test case and documentation, I've committed this for Python 2.4. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
"Fred L. Drake, Jr." <fdrake@acm.org> writes:
On Friday 25 June 2004 01:33 pm, David Handy wrote:
I vote +1.
Given that the patch was simple (and Tim Peters tested it on Windows for me), has a test case and documentation, I've committed this for Python 2.4.
The corresponding feature for bdist_wininst would be a browse directory dialog, allowing to specify an install location, I assume? And, does it really make sense to reuse the 'unix_home' scheme on windows? Wouldn't it make more sense (to a windows user, at least), to use the WINDOWS_SCHEME instead of the unix_home scheme? And, finally, the --home and also the --exec-prefix arguments still have (Unix only) in their description. Thomas
participants (3)
-
David Handy
-
Fred L. Drake, Jr.
-
Thomas Heller