You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
640 B

  1. #include "common.h"
  2. #include "helpers.h"
  3. #include "storm/utility/storm-version.h"
  4. PYBIND11_PLUGIN(info) {
  5. py::module m("info", "Storm information");
  6. py::class_<storm::utility::StormVersion>(m, "Version", "Version information for Storm")
  7. .def_property_readonly("short", &storm::utility::StormVersion::shortVersionString, "Storm version in short representation")
  8. .def_property_readonly("long", &storm::utility::StormVersion::longVersionString, "Storm version in long representation")
  9. .def_property_readonly("build_info", &storm::utility::StormVersion::buildInfo, "Build info for Storm")
  10. ;
  11. return m.ptr();
  12. }