2026-05-16 17:21:02 -07:00
|
|
|
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",
|
2026-05-18 15:32:00 -07:00
|
|
|
[
|
|
|
|
|
str(ROOT / "ble_protocol_core.cpp"),
|
|
|
|
|
str(ROOT / "BLEPeerSessionManager.cpp"),
|
|
|
|
|
],
|
2026-05-16 17:21:02 -07:00
|
|
|
cxx_std=17,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
cmdclass={"build_ext": build_ext},
|
|
|
|
|
zip_safe=False,
|
|
|
|
|
)
|