mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Ignore the siplib folder. Use the full pathname of the sbf file
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -47,7 +47,7 @@ mydbstub.py*
|
||||
/sip/cpp/*.cpp
|
||||
/sip/cpp-*
|
||||
/sip/gen/*.sip
|
||||
/sip/siplib/.update
|
||||
/sip/siplib
|
||||
|
||||
/wx/*.py
|
||||
/wx/*.pyc
|
||||
|
||||
2
build.py
2
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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user