Skip to content

Commit

Permalink
Add package information to top fastobo module
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Oct 10, 2019
1 parent fe93a40 commit baeb121
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ fn fastobo(py: Python, m: &PyModule) -> PyResult<()> {

m.add("__package__", "fastobo")?;
m.add("__build__", pyo3_built!(py, built))?;
m.add("__version__", env!("CARGO_PKG_VERSION"))?;
m.add("__author__", env!("CARGO_PKG_AUTHORS").replace(':', "\n"))?;

add_submodule!(py, m, abc);
add_submodule!(py, m, doc);
Expand Down

0 comments on commit baeb121

Please sign in to comment.