[Distutils] obtaining easy_install prefix in setup.py
pje at telecommunity.com
Wed Nov 18 22:16:19 CET 2009
At 02:59 PM 11/18/2009 -0500, Pavol Juhas wrote:
>I searched and read the recent discussions on the distutils-sig
>list and I hope someone can help me with the following problem.
>Is there a way to recover the prefix value inside pkgfoo/setup.py,
>when it is installed as
> easy_install --prefix=value pkgfoo
> (pkgfoo is a directory with setup.py)
Short of walking the stack in some truly hideous fashion, no. This
is something that needs a configure step, and is unlikely to be
supportable in setuptools until after distutils has its own configure command.
More information about the Distutils-SIG