From 6c0d1ed0570e68d2c5fb09dfe19b7067e37ca9ff Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 23 Jan 2026 12:06:36 +0000 Subject: [PATCH] Fix regenerate stubs script not having proper path separators --- docs/regenerate_stubs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/regenerate_stubs.py b/docs/regenerate_stubs.py index 4a5177361..b2b923bcd 100644 --- a/docs/regenerate_stubs.py +++ b/docs/regenerate_stubs.py @@ -25,16 +25,16 @@ else: binpath = os.path.abspath(os.path.join(docsdir, '../Win32/')) # Prioritise release over development builds -sys.path.insert(0, os.path.abspath(binpath + 'Development/pymodules')) -sys.path.insert(0, os.path.abspath(binpath + 'Release/pymodules')) +sys.path.insert(0, os.path.abspath(binpath + '/Development/pymodules')) +sys.path.insert(0, os.path.abspath(binpath + '/Release/pymodules')) # Add the build paths to PATH so renderdoc.dll can be located -os.environ["PATH"] += os.pathsep + os.path.abspath(binpath + 'Development/') -os.environ["PATH"] += os.pathsep + os.path.abspath(binpath + 'Release/') +os.environ["PATH"] += os.pathsep + os.path.abspath(binpath + '/Development/') +os.environ["PATH"] += os.pathsep + os.path.abspath(binpath + '/Release/') if sys.platform == 'win32' and sys.version_info[1] >= 8: - os.add_dll_directory(binpath + 'Release/') - os.add_dll_directory(binpath + 'Development/') + os.add_dll_directory(binpath + '/Release/') + os.add_dll_directory(binpath + '/Development/') # path to module libraries for linux sys.path.insert(0, os.path.abspath(os.path.join(docsdir, '../build/lib')))