Skip to content

Commit

Permalink
__version__ (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 authored Apr 3, 2024
1 parent ffc3b3a commit 9607879
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/beignet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import importlib.metadata
from importlib.metadata import PackageNotFoundError

try:
__version__ = importlib.metadata.version("beignet")
except PackageNotFoundError:
__version__ = None

0 comments on commit 9607879

Please sign in to comment.