Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch bdist_wheel command
  • Loading branch information
lepture committed Aug 18, 2014
1 parent 5df9349 commit 3ae489a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions setup.py
Expand Up @@ -19,6 +19,22 @@
cmdclass = {}
ext_modules = []

# patch bdist_wheel
try:
from wheel.bdist_wheel import bdist_wheel

class _bdist_wheel(bdist_wheel):
def get_tag(self):
tag = bdist_wheel.get_tag(self)
repl = 'macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64'
if tag[2] == 'macosx_10_6_intel':
tag = (tag[0], tag[1], repl)
return tag

cmdclass['bdist_wheel'] = _bdist_wheel
except ImportError:
pass


def fread(filepath):
with open(filepath, 'r') as f:
Expand Down

0 comments on commit 3ae489a

Please sign in to comment.