[New-bugs-announce] [issue5071] Distutils should not fail if install dir is not in PYTHONPATH

Andy Buckley report at bugs.python.org
Mon Jan 26 17:10:21 CET 2009


New submission from Andy Buckley <andy at insectnation.org>:

At present, distutils exits with an error return code if the directory
that modules are being installed into is not in PYTHONPATH. Since the
install path is not easily obtained (it at least requires running Python
to work out the version string, plus some guesswork about "lib" vs.
"lib64", etc. etc.), it would be nice if this was not a blocking
problem... at least when the --force flag is passed to setup.py

(PS. It would be nice if there *is* a way to get the installation path
from distutils before installing, for the reasons mentioned: that way
automatic install scripts like the one I'm managing could work out the
path, make it and add it to the PYTHONPATH, without worrying about
getting it wrong. Am I just missing something that already exists?)

----------
components: Distutils
messages: 80576
nosy: andybuckley
severity: normal
status: open
title: Distutils should not fail if install dir is not in PYTHONPATH
type: feature request
versions: Python 2.5

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


More information about the New-bugs-announce mailing list