osx: Start honoring requirements from .spec

This commit is contained in:
akshayaurora 2015-12-27 00:40:29 +05:30
parent 45b3e10949
commit 54e4577e78

View file

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