1
0

feat: add build notes and fix build issue for sonnet

This commit is contained in:
2026-01-19 10:14:53 +08:00
parent 85fc2ad3ce
commit 87e6c63aae
3 changed files with 13 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "blctas"
name = "_blctas"
crate-type = ["cdylib"]
[dependencies]

View File

@@ -0,0 +1,5 @@
# Developer Notes
## Build Environment Variables
* `PYO3_PYTHON`: Point to your target Python executable. PyO3 will find proper header and library for linking because the layout of Python distribution is known.

View File

@@ -2,7 +2,13 @@ use pyo3::prelude::*;
pub(crate) mod wrapped;
#[pymodule]
#[pymodule(name = "_blctas")]
mod blctas {
#[pymodule_export]
use super::tasfile;
}
#[pymodule(submodule)]
mod tasfile {
use pyo3::{exceptions::PyRuntimeError, prelude::*};
use crate::wrapped::tasfile::{