osx: Start honoring requirements from .spec
This commit is contained in:
parent
45b3e10949
commit
54e4577e78
1 changed files with 4 additions and 1 deletions
|
@ -112,6 +112,9 @@ class TargetOSX(Target):
|
||||||
|
|
||||||
self.buildozer.info('Create {}.app'.format(package_name))
|
self.buildozer.info('Create {}.app'.format(package_name))
|
||||||
cwd = join(self.buildozer.platform_dir,'kivy-sdk-packager-master', 'osx')
|
cwd = join(self.buildozer.platform_dir,'kivy-sdk-packager-master', 'osx')
|
||||||
|
# remove kivy from app_deps
|
||||||
|
app_deps = ','.join(
|
||||||
|
[word for word in app_deps if 'kivy' not in word])
|
||||||
check_output(
|
check_output(
|
||||||
('python', 'package_app.py', source_dir,
|
('python', 'package_app.py', source_dir,
|
||||||
'--icon={}'.format(icon),
|
'--icon={}'.format(icon),
|
||||||
|
@ -120,7 +123,7 @@ class TargetOSX(Target):
|
||||||
'--bundlename={}'.format(title),
|
'--bundlename={}'.format(title),
|
||||||
'--bundleid={}'.format(domain),
|
'--bundleid={}'.format(domain),
|
||||||
'--bundleversion={}'.format(version),
|
'--bundleversion={}'.format(version),
|
||||||
#'--deps={}'.format(app_deps),
|
'--deps={}'.format(app_deps),
|
||||||
'--displayname={}'.format(title)
|
'--displayname={}'.format(title)
|
||||||
),
|
),
|
||||||
cwd=cwd)
|
cwd=cwd)
|
||||||
|
|
Loading…
Reference in a new issue