Skip to content

Commit

Permalink
small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibe committed Apr 12, 2015
1 parent 14c1a21 commit cecbc6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def run_tests(self):
cmdclass = {'test': PyTest}
try:
from wheel.bdist_wheel import bdist_wheel

except ImportError:
pass
else:
# This will create OS-dependent, but Python-independent wheels
class bdist_wheel_half_pure(bdist_wheel):
def get_tag(self):
Expand All @@ -65,8 +67,6 @@ def get_tag(self):
return pythons, 'none', oses

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

setup(
name='PySoundFile',
Expand Down

0 comments on commit cecbc6a

Please sign in to comment.