summaryrefslogtreecommitdiff
path: root/setupinfo.py
diff options
context:
space:
mode:
authorscoder <none@none>2007-09-24 18:51:32 +0200
committerscoder <none@none>2007-09-24 18:51:32 +0200
commitd1e09b498a76df55fa9cf478e9229a716f1a7324 (patch)
treed95098f685e05a0c7e8d264b3e74ec27fb012999 /setupinfo.py
parent920151a73e8ee35bdc86ee9a644dfe798feccc21 (diff)
downloadpython-lxml-d1e09b498a76df55fa9cf478e9229a716f1a7324.tar.gz
[svn r2912] build setup clarification and error message for missing xslt-config
--HG-- branch : trunk
Diffstat (limited to 'setupinfo.py')
-rw-r--r--setupinfo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setupinfo.py b/setupinfo.py
index a583e76c..1c75eefe 100644
--- a/setupinfo.py
+++ b/setupinfo.py
@@ -132,6 +132,11 @@ def define_macros():
def flags(cmd):
wf, rf, ef = os.popen3(cmd)
+ errors = ef.read()
+ if errors:
+ print "ERROR:", errors
+ print "** make sure the development package of libxml2 and libxslt are installed **"
+ print
return rf.read().split()
def has_option(name):