[Biopython-dev] [Bug 2889] setup.py reads stdin even when stdin is not a terminal

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Jul 29 07:46:25 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2889





------- Comment #1 from biopython-bugzilla at maubp.freeserve.co.uk  2009-07-29 03:46 EST -------
(In reply to comment #0)
> setup.py files are *not* meant be using raw_input and other funky things
> that interferes with build automation.

Have you got a reference for that? I can see why it might have a problem,
but there is probably official guidance for this kind of thing.

> Please remove the use of raw_input() .. or, at least, use raw_input() only
> when stdin is a real terminal ("if sys.stdout.isatty()").

That makes sense. But what would you do if this is not the case?

> This way you could allow your package to built via automated build tools.

What tool has a problem? All the Linux packagers manage fine.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list