| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/debian/ |
Upload File : |
""" Tools for working with Debian-related file formats """
__version__ = ""
try:
# pylint: disable=no-member
import debian._version
__version__ = debian._version.__version__
except ImportError:
try:
from setuptools_scm import get_version
__version__ = get_version(root="..")
except ImportError:
import warnings
warnings.warn("_version.py not found and setuptools_scm not installed.")
except Exception as e: # pylint: disable=broad-exception-caught
import warnings
warnings.warn("_version.py not found and setuptools_scm couldn't make a version.\n%s" % e)
finally:
# Fake a version string in desperation
if not __version__:
__version__ = '0.0.0-unknown'