File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66"""
77
88# Always prefer setuptools over distutils
9+ from __future__ import print_function
910from setuptools import setup , find_packages , Extension
1011# To use a consistent encoding
1112from codecs import open
@@ -43,12 +44,12 @@ def download_library():
4344 if ARCH == '64' :
4445 url = "http://www.sqlparser.com/dl/gsqlparser_c_linux64_trial_0_3_8.tar.gz"
4546
46- print "Downloading library from '%s'..." % url
47+ print ( "Downloading library from '%s'..." % url )
4748
4849 urllib .urlretrieve (url , file_name )
4950
50- print "Done!"
51- print "Extracting archive..."
51+ print ( "Done!" )
52+ print ( "Extracting archive..." )
5253
5354 if os .name == "nt" :
5455 import zipfile
@@ -61,7 +62,7 @@ def download_library():
6162 archive = tarfile .open (file_name )
6263 archive .extractall (SQLPARSER_DIR )
6364
64- print "Done!"
65+ print ( "Done!" )
6566
6667
6768if not os .path .isdir (SQLPARSER_DIR ):
You can’t perform that action at this time.
0 commit comments