Description: Fixup faulty version parsing in setup.py
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2023-11-05
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@
 from setuptools import setup
 
 version_py = os.path.join(os.path.dirname(__file__), 'gffutils', 'version.py')
-version = open(version_py).read().strip().split('=')[-1].replace('"', '')
+version = open(version_py).read().strip().split('=')[-1].replace('"', '').strip()
 requirements = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).readlines()
 setup(
     name='gffutils',
