Skip to content

Commit

Permalink
Trim space and newlines from version in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
schorrm authored Sep 8, 2023
1 parent 6817e58 commit 3e7a56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Get Version
version_file = path.join(here, "pybaseball", "version.py")
with open(version_file, encoding="utf-8") as f:
version = f.read().split(" = ")[-1].strip('"')
version = f.read().split(" = ")[-1].strip().strip('"')

setup(
name='pybaseball',
Expand Down

0 comments on commit 3e7a56a

Please sign in to comment.