Skip to content

Commit

Permalink
fix version regex in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Oct 31, 2021
1 parent ec2bdda commit 7513f0c
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 @@ -11,5 +11,5 @@
# load version number from file in sources dir without importing
with open('fastf1/version.py') as vfobj:
vstring = str(vfobj.read())
version = re.search(r"(\d.\d.\d)", vstring)[0]
version = re.search(r"(\d+.\d+.\d+)", vstring)[0]
setup(version=version)

0 comments on commit 7513f0c

Please sign in to comment.