From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: [PATCH] gnu: Add libsmpeg. Date: Sat, 23 Jul 2016 00:21:45 +0200 Message-ID: References: <87bn1pu4lx.fsf@openmailbox.org> <877fcdtq97.fsf@openmailbox.org> <8737n1tm1f.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQipI-0005PS-T1 for guix-devel@gnu.org; Fri, 22 Jul 2016 18:21:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQipH-0007hg-02 for guix-devel@gnu.org; Fri, 22 Jul 2016 18:21:47 -0400 Received: from mail-qt0-x236.google.com ([2607:f8b0:400d:c0d::236]:34215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQipG-0007hc-Rm for guix-devel@gnu.org; Fri, 22 Jul 2016 18:21:46 -0400 Received: by mail-qt0-x236.google.com with SMTP id u25so69475150qtb.1 for ; Fri, 22 Jul 2016 15:21:46 -0700 (PDT) In-Reply-To: <8737n1tm1f.fsf@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Kei Kebreau Cc: guix-devel > reply = raw_input('\n' + message + ' [Y/n]:') > EOFError: EOF when reading a line That setup.py is handcrafted, and is interactive. It asks a question to the user and waits for a keypress in return. And it looks like it is getting EOF instead of a keypress. I see 2 solutions, either you find a way to answer its question, I think I remember having seen some package that does this, but cannot find it now. :-/ I think it was done with (display "Y" port) and port should be the stdin of setup.py You'll have to hunt that scm example. hope that helps -- Vincent Legoll