ec436095dd
Book-CI / test (macos-latest) (push) Has been cancelled
Book-CI / test (ubuntu-latest) (push) Has been cancelled
Book-CI / test (windows-latest) (push) Has been cancelled
Release Fake Tag / publish (push) Has been cancelled
Deploy / deploy (macos-latest) (push) Has been cancelled
Deploy / deploy (ubuntu-latest) (push) Has been cancelled
Deploy / deploy (windows-latest) (push) Has been cancelled
Release to PyPI / Build & publish sglang-kt (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.11) (push) Has been cancelled
Release to PyPI / Build kt-kernel (Python 3.12) (push) Has been cancelled
Release to PyPI / Publish kt-kernel to PyPI (push) Has been cancelled
21 lines
464 B
Python
21 lines
464 B
Python
#!/usr/bin/env python
|
|
# coding=utf-8
|
|
'''
|
|
Description :
|
|
Author : kkk1nak0
|
|
Date : 2024-08-15 07:34:46
|
|
Version : 1.0.0
|
|
LastEditors : chenxl
|
|
LastEditTime : 2025-02-15 03:53:02
|
|
'''
|
|
import sys
|
|
import os
|
|
|
|
# Import version from shared version.py at project root
|
|
_root_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
sys.path.insert(0, _root_dir)
|
|
try:
|
|
from version import __version__
|
|
finally:
|
|
sys.path.pop(0)
|