22 lines
459 B
Python
22 lines
459 B
Python
|
|
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")],
|
||
|
|
cxx_std=17,
|
||
|
|
)
|
||
|
|
],
|
||
|
|
cmdclass={"build_ext": build_ext},
|
||
|
|
zip_safe=False,
|
||
|
|
)
|