"""The qjobs tool is an attempt at getting a clean qstat output.

See the documentation at https://qjobs.readthedocs.io
"""

from setuptools_scm import get_version
from pkg_resources import get_distribution, DistributionNotFound

try:
    __version__ = get_version(root='..', relative_to=__file__)
except LookupError:
    __version__ = get_distribution('stagpy').version
except (DistributionNotFound, ValueError):
    __version__ = 'unknown'

@@ -351,14 +351,13 @@
 on('
-stagpy
+qjobs
 ').v

Fix __version__ gathering