[prev in list] [next in list] [prev in thread] [next in thread]
List: python-distutils-sig
Subject: Re: [Distutils] Can we prevent setuptools from writing to stdout
From: "Phillip J. Eby" <pje () telecommunity ! com>
Date: 2008-09-24 17:39:01
Message-ID: 20080924173755.3AC463A4128 () sparrow ! telecommunity ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic