Initial Commit
- initial default booting image
This commit is contained in:
12
package/python-pybind/python-pybind_version.py.in
Normal file
12
package/python-pybind/python-pybind_version.py.in
Normal file
@@ -0,0 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def _to_int(s: str) -> int | str:
|
||||
try:
|
||||
return int(s)
|
||||
except ValueError:
|
||||
return s
|
||||
|
||||
|
||||
__version__ = "@@PYBIND_VERSION@@"
|
||||
version_info = tuple(_to_int(s) for s in __version__.split("."))
|
||||
Reference in New Issue
Block a user