Skip to content

Commit

Permalink
THRIFT-4505: Fix python build on Vagrant Windows boxes
Browse files Browse the repository at this point in the history
Client: py

This closes #1499
  • Loading branch information
earada authored and jeking3 committed Mar 5, 2018
1 parent 55ddf19 commit 9e0c927
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
# Fix to build sdist under vagrant
import os
if 'vagrant' in str(os.environ):
del os.link
try:
del os.link
except AttributeError:
pass

include_dirs = ['src']
if sys.platform == 'win32':
Expand Down

0 comments on commit 9e0c927

Please sign in to comment.