Line data Source code
1 : // SPDX-FileCopyrightText: 2024 Pairinteraction Developers 2 : // SPDX-License-Identifier: LGPL-3.0-or-later 3 : 4 : #include "./version.py.hpp" 5 : 6 : #include "pairinteraction/version.hpp" 7 : 8 : #include <nanobind/nanobind.h> 9 : 10 : namespace nb = nanobind; 11 : using namespace pairinteraction; 12 : 13 2 : void bind_version(nb::module_ &m) { 14 2 : m.attr("VERSION_MAJOR") = pairinteraction::VERSION_MAJOR; 15 2 : m.attr("VERSION_MINOR") = pairinteraction::VERSION_MINOR; 16 2 : m.attr("VERSION_PATCH") = pairinteraction::VERSION_PATCH; 17 2 : }