From ea4c5fdb9687a457817e0aa8d640f377925ce0f5 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 11 Aug 2021 11:14:18 -0700 Subject: [PATCH] setup.py: document setuptools magic again Keep comment that explains setuptools magic to include "native" libs --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 686e8bf..d55e047 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,8 @@ def __init__(self, name, sourcedir=""): class CMakeBuild(build_ext): def build_extension(self, ext): extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name))) + + # required for auto-detection & inclusion of auxiliary "native" libs if not extdir.endswith(os.path.sep): extdir += os.path.sep