Permalink
Browse files

Merge pull request #3 from Cito/master

Small fix for installation problems under Win 64bit
  • Loading branch information...
2 parents 178f605 + 796b2ea commit 2f39e0e9036e4c6afd9c2c05dee355a81bd421ec @mitsuhiko mitsuhiko committed Jul 20, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 setup.py
View
@@ -48,6 +48,11 @@ def build_extension(self, 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=''):

0 comments on commit 2f39e0e

Please sign in to comment.