Skip to content

Commit f26b796

Browse files
authored
Update build.py
1 parent f036480 commit f26b796

File tree

1 file changed

+1
-2
lines changed
  • packages/np311-windows/matplotlib

1 file changed

+1
-2
lines changed

packages/np311-windows/matplotlib/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ def run(wheel_directory):
2222
__np__.run_with_output(sys.executable, "-m", "build", "-w", "--no-isolation",
2323
"-Csetup-args=-Dsystem-freetype=True")
2424

25-
wheel_location = glob.glob("matplotlib-*.whl")[0]
26-
25+
wheel_location = glob.glob(os.path.join("dist", "matplotlib-*.whl"))[0]
2726
wheel_name = os.path.basename(wheel_location)
2827
shutil.copy(wheel_location, os.path.join(wheel_directory, wheel_name))
2928
return os.path.join(wheel_directory, wheel_name)

0 commit comments

Comments
 (0)