mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 00:50:40 +00:00
Fix regenerate stubs script not having proper path separators
This commit is contained in:
@@ -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')))
|
||||
|
||||
Reference in New Issue
Block a user