Description: Corrected project version path
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2024-05-28
Index: python-soxr/docs/conf.py
===================================================================
--- python-soxr.orig/docs/conf.py
+++ python-soxr/docs/conf.py
@@ -23,11 +23,13 @@ project = 'Python-SoXR'
 copyright = '2021-24 Myungchul Keum'
 author = 'Myungchul Keum'
 
-# The full version, including alpha/beta/rc tags
-release = importlib.metadata.version('soxr')
+try:
+    release = importlib.metadata.version('soxr')
+except importlib.metadata.PackageNotFoundError:
+    release = '0.5.0'
+# Define the short version for the documentation
 version = '.'.join(release.split('.')[:2])
 
-
 # -- General configuration ---------------------------------------------------
 
 # Add any Sphinx extension module names here, as strings. They can be
