summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Zwerschke <cito@online.de>2011-06-04 19:28:56 +0200
committerChristoph Zwerschke <cito@online.de>2011-06-04 19:28:56 +0200
commit4964e7780911d32119ddfbef26c2ba20e5bc80d5 (patch)
treebd9a716c516414b4f11768b8b06ec6fbd1d494cb
parent6b676ac6ccc6ca9fc0006d758d4eb98ee437061e (diff)
downloadmarkupsafe-4964e7780911d32119ddfbef26c2ba20e5bc80d5.tar.gz
Workaround for Python Issue7511 (setup failing on Win 64).
-rw-r--r--setup.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index b061d6a..48d191c 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,11 @@ class ve_build_ext(build_ext):
build_ext.build_extension(self, ext)
except ext_errors:
raise BuildFailed()
+ except ValueError, err:
+ # may happen on Win 64 bit, see Python issue7511
+ if "'path'" in str(err):
+ raise BuildFailed()
+ raise
def echo(msg=''):