Skip to content

Commit 0f424a0

Browse files
committed
Revert "BLD: use patched bdist_wheel"
The workaround is not anymore needed with newer wheel builds. This reverts commit 659ce45.
1 parent 85dd02f commit 0f424a0

File tree

2 files changed

+0
-117
lines changed

2 files changed

+0
-117
lines changed

patched_bdist_wheel.py

Lines changed: 0 additions & 103 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,6 @@ def run(self):
150150
cmdclass['test'] = NoopTestCommand
151151
cmdclass['build_ext'] = BuildExtraLibraries
152152

153-
154-
# patch bdist_wheel for a bug on windows
155-
# https://bitbucket.org/pypa/wheel/issues/91/cannot-create-a-file-when-that-file
156-
if os.name == 'nt':
157-
try:
158-
from wheel.bdist_wheel import bdist_wheel
159-
except ImportError:
160-
# No wheel installed, so we also can't run that command...
161-
pass
162-
else:
163-
# patched_bdist_wheel has a run() method, which works on windows
164-
from patched_bdist_wheel import patched_bdist_wheel
165-
cmdclass['bdist_wheel'] = patched_bdist_wheel
166-
167153
# One doesn't normally see `if __name__ == '__main__'` blocks in a setup.py,
168154
# however, this is needed on Windows to avoid creating infinite subprocesses
169155
# when using multiprocessing.

0 commit comments

Comments
 (0)