Pavol Juhas wrote:
> easy_install already creates its own distribution object
> before sourcing pkgfoo/setup.py, in addition setup.py
> is executed in a sandbox with mangled sys.argv.
>   

At least for the Distribution class, what you can do is to detect
whether you are run under setuptools/easy_install or not, and
conditionally inherit from there. I don't know if it is enough to get
--prefix from easy_install - I never use easy_install.

David
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to