From 1a77d37cfd9ec4bd6ed98b50d4d08b14ec94fa15 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 30 Jun 2022 15:14:51 -0700 Subject: [PATCH] Ignore the siplib folder. Use the full pathname of the sbf file --- .gitignore | 2 +- build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d84a059a..97832f5c 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,7 @@ mydbstub.py* /sip/cpp/*.cpp /sip/cpp-* /sip/gen/*.sip -/sip/siplib/.update +/sip/siplib /wx/*.py /wx/*.pyc diff --git a/build.py b/build.py index 18a886ba..82874d3b 100755 --- a/build.py +++ b/build.py @@ -1256,7 +1256,7 @@ def cmd_sip(options, args): tmpdir = tmpdir.replace('\\', '/') src_name = src_name.replace('\\', '/') base = os.path.basename(os.path.splitext(src_name)[0]) - sbf = posixjoin(cfg.SIPOUT, base) + '.sbf' + sbf = posixjoin(cfg.ROOT_DIR, cfg.SIPOUT, base) + '.sbf' pycode = base[1:] # remove the leading _ pycode = opj(cfg.ROOT_DIR, cfg.PKGDIR, pycode) + '.py'