At 02:24 PM 9/24/2008 +0100, Fadhley Salim wrote:
Is it possible to prevent setuptools from writing anything to stdout?

For various inconvenient reasons our package must install silently - that means the installation process must not write to either stdout or stderr. Other than hacking distutils / setuptools to ensure that there's nothing which can write i've not yet been able to come up with a reliable means to control output.

Temporarily replace sys.stdout with another object, such as a StringIO.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to