Skip to content

Commit

Permalink
Osx Target, fixes for using buildops
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayaurora authored Jan 30, 2024
1 parent 079101d commit 92fb8d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildozer/targets/osx.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def ensure_sdk(self):
self.logger.info('kivy-sdk-packager does not exist, clone it')
platdir = self.buildozer.platform_dir
buildops.download(
'https://github.com/kivy/kivy-sdk-packager/archive/master.zip',
'https://github.com/kivy/kivy-sdk-packager/archive/',
'master.zip',
cwd=platdir)
buildops.file_extract(
Expand All @@ -48,7 +48,7 @@ def download_kivy(self, cwd):
self.logger.info('Downloading kivy...')
try:
buildops.download(
f'https://kivy.org/downloads/{current_kivy_vers}/Kivy.dmg',
f'https://kivy.org/downloads/{current_kivy_vers}/',
'Kivy.dmg',
cwd=cwd
)
Expand All @@ -63,8 +63,8 @@ def download_kivy(self, cwd):

self.logger.info('Extracting and installing Kivy...')
check_call(('hdiutil', 'attach', cwd + '/Kivy.dmg'))
buildops.file_copy(
'/Volumes/Kivy/Kivy.app', './Kivy.app', cwd=cwd)
buildops.file_copytree(
'/Volumes/Kivy/Kivy.app', cwd+'/Kivy.app')

def ensure_kivyapp(self):
self.logger.info('check if Kivy.app exists in local dir')
Expand Down

0 comments on commit 92fb8d6

Please sign in to comment.