mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 03:29:02 +00:00
Fixed cocoa dev build.
This commit is contained in:
parent
e519e41e42
commit
ea32af04fb
7
build.py
7
build.py
@ -58,15 +58,12 @@ def build_cocoa(edition, dev):
|
|||||||
'pe': ['core_pe'],
|
'pe': ['core_pe'],
|
||||||
}[edition]
|
}[edition]
|
||||||
tocopy = ['core', 'hscommon', 'cocoa/inter', 'cocoalib/cocoa'] + specific_packages
|
tocopy = ['core', 'hscommon', 'cocoa/inter', 'cocoalib/cocoa'] + specific_packages
|
||||||
if dev:
|
|
||||||
# collect dependencies, then override our own pckages with symlinks
|
|
||||||
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
|
|
||||||
copy_packages(tocopy, 'build/py', create_links=True)
|
|
||||||
else:
|
|
||||||
copy_packages(tocopy, 'build')
|
copy_packages(tocopy, 'build')
|
||||||
sys.path.insert(0, 'build')
|
sys.path.insert(0, 'build')
|
||||||
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
|
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
|
||||||
del sys.path[0]
|
del sys.path[0]
|
||||||
|
if dev:
|
||||||
|
copy_packages(tocopy, 'build/py', create_links=True)
|
||||||
# Views are not referenced by python code, so they're not found by the collector.
|
# Views are not referenced by python code, so they're not found by the collector.
|
||||||
copy_all('build/inter/*.so', 'build/py/inter')
|
copy_all('build/inter/*.so', 'build/py/inter')
|
||||||
copy_sysconfig_files_for_embed('build/py')
|
copy_sysconfig_files_for_embed('build/py')
|
||||||
|
Loading…
Reference in New Issue
Block a user