Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
revert back to less talky build
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Feb 9, 2014
1 parent 68266f6 commit f5e6b97
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/zope/wineggbuilder/lxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from zope.wineggbuilder import build

LOGGER = base.LOGGER
LOGOUTPUT = False

ZLIBVER = '1.2.7'
ZLIBURL = 'http://sourceforge.net/projects/libpng/files/zlib/%s/zlib-%s.tar.bz2/download' % (
Expand Down Expand Up @@ -132,6 +133,8 @@ def run(self, lxmlver):
command = self.compiler.setup + '\r\n' + cmd
command = command % idata
output = do(command, cwd=os.path.join(bdir, 'zlib'))
if not LOGOUTPUT:
output = 'suppressed'
LOGGER.info('ZLIB build done, output: \n%s', output)

######################
Expand All @@ -147,6 +150,8 @@ def run(self, lxmlver):
shutil.copy(
os.path.join(iconvfolder, 'lib', 'iconv.lib'),
os.path.join(iconvfolder, 'lib', 'iconv_a.lib'))
if not LOGOUTPUT:
output = 'suppressed'
LOGGER.info('ICONV build done, output: \n%s', output)

######################
Expand All @@ -161,6 +166,8 @@ def run(self, lxmlver):
command = self.compiler.setup + '\r\n' + cmd1 + '\r\n' + cmd2
command = command % idata
output = do(command, cwd=os.path.join(bdir, 'libxml2', 'win32'))
if not LOGOUTPUT:
output = 'suppressed'
LOGGER.info('LIBXML build done, output: \n%s', output)

######################
Expand All @@ -175,6 +182,8 @@ def run(self, lxmlver):
command = self.compiler.setup + '\r\n' + cmd1 + '\r\n' + cmd2
command = command % idata
output = do(command, cwd=os.path.join(bdir, 'libxslt', 'win32'))
if not LOGOUTPUT:
output = 'suppressed'
LOGGER.info('LIBXSLT build done, output: \n%s', output)

####################
Expand Down

0 comments on commit f5e6b97

Please sign in to comment.