Skip to content
Snippets Groups Projects
Commit 235adb30 authored by Drew Bollinger's avatar Drew Bollinger
Browse files

move directory creation inside the wheel context

parent 28a00023
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,11 @@ from delocate import wheeltools
def add_library(paths):
wheel_fnames = glob('/io/wheelhouse/pyopencl*.whl')
libs_dir = os.path.join('pyopencl', '.libs')
os.makedirs(libs_dir, exist_ok=True)
for fname in wheel_fnames:
print('Processing', fname)
with wheeltools.InWheel(fname, fname):
libs_dir = os.path.join('pyopencl', '.libs')
os.makedirs(libs_dir, exist_ok=True)
for lib_path in paths:
shutil.copy2(lib_path, libs_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment