We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2f6dd commit 1521a6bCopy full SHA for 1521a6b
2 files changed
CHANGES.rst
@@ -10,6 +10,7 @@ Version 2.0.1
10
Unreleased.
11
12
- Test and build also for Python 3.9.
13
+- Export also __version__.
14
15
16
Version 2.0.0
src/python.rs
@@ -8,6 +8,8 @@ use crate::radial::__pyo3_get_function_radial_grid;
8
9
#[pymodule]
fn numgrid(_py: Python, m: &PyModule) -> PyResult<()> {
+ m.add("__version__", env!("CARGO_PKG_VERSION"))?;
+
m.add_function(wrap_pyfunction!(atom_grid, m)?)?;
m.add_function(wrap_pyfunction!(atom_grid_bse, m)?)?;
m.add_function(wrap_pyfunction!(angular_grid, m)?)?;
0 commit comments