update stitch algorithm and ver to 0.3.1

This commit is contained in:
bluepulsar
2026-03-28 18:20:20 +08:00
parent b3296c4e5d
commit 97d7d55838
8 changed files with 541 additions and 572 deletions
+2 -2
View File
@@ -21,11 +21,11 @@ def install_nuitka():
def get_version() -> str:
init_file = Path("src/orisys/__init__.py")
if not init_file.exists():
return "0.3.0"
return "0.3.1"
for line in init_file.read_text(encoding="utf-8").splitlines():
if line.startswith("__version__"):
return line.split("=", 1)[1].strip().strip('"').strip("'")
return "0.3.0"
return "0.3.1"
def find_compiled_extension(output_dir: Path) -> Path: