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