From ec2bdda2e83c21685f29ecc4f966b534f8b4e623 Mon Sep 17 00:00:00 2001 From: theOehrly Date: Sun, 31 Oct 2021 15:19:37 +0100 Subject: [PATCH] fix sphinx doc regex string and metadata names --- docs/conf.py | 2 +- setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index e99605f8d..c0f695664 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ # 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] # project = 'Fast F1' diff --git a/setup.cfg b/setup.cfg index dce57a731..ce325d3a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,9 +4,9 @@ license = MIT license_files = LICENSE author = Oehrly author_email = oehrly@mailbox.org -home-page = https://github.com/theOehrly/Fast-F1 +home_page = https://github.com/theOehrly/Fast-F1 description = Wrapper library for F1 data and telemetry API with additional data processing capabilities. -long-description = file: README.rst +long_description = file: README.rst long_description_content_type = text/x-rst