Initial commit
This commit is contained in:
8
prototorch/plugintemplate/__init__.py
Normal file
8
prototorch/plugintemplate/__init__.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from importlib.metadata import version, PackageNotFoundError
|
||||
|
||||
VERSION_FALLBACK = "uninstalled_version"
|
||||
try:
|
||||
__version__ = version(__name__.replace(".", "-"))
|
||||
except PackageNotFoundError:
|
||||
__version__ = VERSION_FALLBACK
|
||||
pass
|
Reference in New Issue
Block a user