Skip to content

Commit cf76e6b

Browse files
committed
Add __version__
1 parent 164a8c1 commit cf76e6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ impl CVM {
6969
#[pymodule]
7070
fn count_distinct(_py: Python, m: Bound<'_, PyModule>) -> PyResult<()> {
7171
m.add_class::<CVM>()?;
72-
// m.add_function(wrap_pyfunction!(version, m)?)?;
73-
72+
m.add("__version__", env!("CARGO_PKG_VERSION"))?;
7473
Ok(())
7574
}

0 commit comments

Comments
 (0)