Skip to content

Commit

Permalink
Merge pull request #163 from pyca/alex-patch-2
Browse files Browse the repository at this point in the history
Fixed error handling in setup.py; fixes #154
  • Loading branch information
reaperhulk committed Jan 9, 2016
2 parents 08b81d0 + f3132b4 commit 72306c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

from __future__ import absolute_import, division, print_function

import errno
import functools
import glob
import os
Expand Down Expand Up @@ -149,8 +150,9 @@ def run(self):
# Ensure our temporary build directory exists
try:
os.makedirs(build_temp)
except IOError:
pass
except OSError as e:
if e.errno != errno.EEXIST:
raise

# Ensure all of our executanle files have their permission set
for filename in [
Expand Down

0 comments on commit 72306c3

Please sign in to comment.