From db0dc94d8a3161333b21636aacdfb9ce9284a16b Mon Sep 17 00:00:00 2001 From: Gus Smith Date: Fri, 29 May 2026 10:38:26 -0700 Subject: Don't use pybind in submod --- sources/api/pySoftMC/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/api/pySoftMC/setup.py') diff --git a/sources/api/pySoftMC/setup.py b/sources/api/pySoftMC/setup.py index c353396..b962937 100644 --- a/sources/api/pySoftMC/setup.py +++ b/sources/api/pySoftMC/setup.py @@ -1,9 +1,9 @@ from setuptools import setup, Extension -import os +import os, pybind11 here = os.path.dirname(os.path.abspath(__file__)) api_dir = os.path.join(here, "..") -pybind11_include = os.path.join(here, "../ext/pybind11/include") +pybind11_include = pybind11.get_include() ext = Extension( "pySoftMC", -- cgit v1.2.3