Skip to content

Commit

Permalink
Always install the correct version with pip_build
Browse files Browse the repository at this point in the history
Mirror keras-team/keras-core#595 for keras-nlp
  • Loading branch information
mattdangerw committed Jul 24, 2023
1 parent 85d7c53 commit 36b1b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def build():

# Find the .whl file path
for fname in os.listdir(dist_directory):
if fname.endswith(".whl"):
if __version__ in fname and fname.endswith(".whl"):
whl_path = os.path.abspath(os.path.join(dist_directory, fname))
print(f"Build successful. Wheel file available at {whl_path}")
finally:
Expand Down

0 comments on commit 36b1b65

Please sign in to comment.