We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d87d9 commit 1cc01b0Copy full SHA for 1cc01b0
src/binding/python/openPMD.cpp
@@ -84,6 +84,12 @@ PYBIND11_MODULE(openpmd_api, m) {
84
openPMDapi << "-" << OPENPMDAPI_VERSION_LABEL;
85
m.attr("__version__") = openPMDapi.str();
86
87
+ // release channel
88
+ std::stringstream openPMD_release_channel;
89
+ if( std::string( "OPENPMDAPI_RELEASE_CHANNEL" ).size() > 0 )
90
+ openPMD_release_channel << "OPENPMDAPI_RELEASE_CHANNEL";
91
+ m.attr("release_channel") = openPMD_release_channel.str();
92
+
93
// feature variants
94
m.attr("variants") = std::map<std::string, bool>{
95
{"mpi", bool(openPMD_HAVE_MPI)},
0 commit comments