diff --git a/Code/Mantid/Framework/PythonInterface/mantid/kernel/src/kernel.cpp.in b/Code/Mantid/Framework/PythonInterface/mantid/kernel/src/kernel.cpp.in index 3cca84d1d4778b74ce9732cfbb552f90e036b071..a0b5fd007bf55092c466e9a46b2ba30017c5aa93 100644 --- a/Code/Mantid/Framework/PythonInterface/mantid/kernel/src/kernel.cpp.in +++ b/Code/Mantid/Framework/PythonInterface/mantid/kernel/src/kernel.cpp.in @@ -32,6 +32,18 @@ BOOST_PYTHON_MODULE(_kernel) def("version_str", &Mantid::Kernel::MantidVersion::version, "Returns the Mantid version string in the form \"major.minor.patch\""); + def("release_notes_url", &Mantid::Kernel::MantidVersion::releaseNotes, + "Returns the url to the most applicable release notes"); + def("revision", &Mantid::Kernel::MantidVersion::revision, + "Returns the abbreviated SHA-1 of the last commit"); + def("revision_full", &Mantid::Kernel::MantidVersion::revisionFull, + "Returns the full SHA-1 of the last commit"); + def("release_date", &Mantid::Kernel::MantidVersion::releaseDate, + "Returns the date of the last commit"); + def("doi", &Mantid::Kernel::MantidVersion::doi, + "Returns the DOI for this release of Mantid"); + def("paper_citation", &Mantid::Kernel::MantidVersion::paperCitation, + "Returns The citation for the Mantid paper"); Mantid::PythonInterface::Registry::TypeRegistry::registerBuiltins();