File: __init__.py

package info (click to toggle)
python-pbcore 2.1.2%2Bdfsg-11
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,552 kB
  • sloc: python: 13,404; xml: 2,504; makefile: 226; sh: 66
file content (6 lines) | stat: -rw-r--r-- 188 bytes parent folder | download
1
2
3
4
5
6
from importlib.metadata import Distribution, PackageNotFoundError

try:
    __VERSION__ = Distribution.from_name('pbcore').version
except PackageNotFoundError:
    __VERSION__ = 'unknown'