Re: [Distutils] Can we prevent setuptools from writing to stdout

Sept. 24, 2008
5:39 p.m.
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.
6116
Age (days ago)
6116
Last active (days ago)
0 comments
1 participants
participants (1)
-
Phillip J. Eby