From 4c597d3f7cf9f83a763472aa165a1a4292019f20 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 30 Apr 2017 10:41:55 +0200 Subject: [PATCH] Error handling for non-interactive setup.py - thanks to @orlitzky #993 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fc9e367a..98b7fbd9 100644 --- a/setup.py +++ b/setup.py @@ -184,7 +184,7 @@ class InstallCmd(install): print "Press Return to continue" try: raw_input() - except NameError: + except EOFError, NameError: pass return install.run(self)