From 2a164cec5efd1ab99e8ed9ed67e2599f54be279e Mon Sep 17 00:00:00 2001 From: cliechti Date: Thu, 23 Jul 2009 14:02:41 +0000 Subject: remove print and replace with stdio writes git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@234 f19166aa-fa4f-0410-85c2-fa1106f25c8a --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index fb3a9cb..ac0d8fd 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,13 @@ # setup.py +import sys + try: from setuptools import setup except ImportError: - print "standart distutils" + sys.stdout.write("standard distutils\n") from distutils.core import setup else: - print "setuptools" -import sys + sys.stdout.write("setuptools\n") #windows installer: # python setup.py bdist_wininst -- cgit v1.2.1