from pathlib import Path from pybind11.setup_helpers import Pybind11Extension, build_ext from setuptools import setup ROOT = Path(__file__).resolve().parent setup( name="ble-protocol-core-cpp", version="0.0.1", ext_modules=[ Pybind11Extension( "ble_protocol_core_cpp", [ str(ROOT / "ble_protocol_core.cpp"), str(ROOT / "BLEPeerSessionManager.cpp"), ], cxx_std=17, ) ], cmdclass={"build_ext": build_ext}, zip_safe=False, )