Ignore the siplib folder. Use the full pathname of the sbf file

This commit is contained in:
Robin Dunn
2022-06-30 15:14:51 -07:00
parent 369d49f621
commit 1a77d37cfd
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -47,7 +47,7 @@ mydbstub.py*
/sip/cpp/*.cpp
/sip/cpp-*
/sip/gen/*.sip
/sip/siplib/.update
/sip/siplib
/wx/*.py
/wx/*.pyc

View File

@@ -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'