We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf26a6 commit c8d2385Copy full SHA for c8d2385
setup.py
@@ -165,13 +165,12 @@ def _build_wheel(
165
for whlfile in glob.glob(os.path.join(self.dist_dir, "*.whl")):
166
os.makedirs("wheelhouse", exist_ok=True)
167
if InWheel:
168
- with InWheel(
169
- in_wheel=whlfile,
170
- out_wheel=os.path.join("wheelhouse", os.path.basename(whlfile)),
171
- ):
+ wheelhouse_whl = os.path.join("wheelhouse", os.path.basename(whlfile))
+ shutil.move(whlfile, wheelhouse_whl)
+ with InWheel(in_wheel=wheelhouse_whl, out_wheel=whlfile):
172
print(f"Updating RECORD file of {whlfile}")
173
print("Copying new wheels")
174
- shutil.move("wheelhouse", self.dist_dir)
+ shutil.rmtree("wheelhouse")
175
176
def _download_and_extract_local_driver(
177
self,
0 commit comments