summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2011-07-20 00:43:52 -0700
committerArmin Ronacher <armin.ronacher@active-4.com>2011-07-20 00:43:52 -0700
commit2f39e0e9036e4c6afd9c2c05dee355a81bd421ec (patch)
treef2fac4fd5308c85852019e33ad5baea613f8ca6c
parent178f60584374bfc10ac257c74bcc2c36dffff7c9 (diff)
parent796b2ea5d4bb264a3fc291b4cf507e4953a98c69 (diff)
downloadmarkupsafe-2f39e0e9036e4c6afd9c2c05dee355a81bd421ec.tar.gz
Merge pull request #3 from Cito/master
Small fix for installation problems under Win 64bit
-rw-r--r--setup.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index b061d6a..0e092a0 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:
+ # this can happen on Windows 64 bit, see Python issue 7511
+ if "'path'" in str(sys.exc_info()[1]): # works with Python 2 and 3
+ raise BuildFailed()
+ raise
def echo(msg=''):