From 794461190cd0489b2c751003aac5d78a3f3b3786 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Mon, 18 Jun 2018 18:45:57 +0200 Subject: [PATCH] Removes few unused variables --- buildozer/targets/android_new.py | 1 - buildozer/targets/osx.py | 8 -------- 2 files changed, 9 deletions(-) diff --git a/buildozer/targets/android_new.py b/buildozer/targets/android_new.py index 06fad30..d8690c8 100644 --- a/buildozer/targets/android_new.py +++ b/buildozer/targets/android_new.py @@ -48,7 +48,6 @@ class TargetAndroidNew(TargetAndroid): def compile_platform(self): app_requirements = self.buildozer.config.getlist( 'app', 'requirements', '') - onlyname = lambda x: x.split('==')[0] dist_name = self.buildozer.config.get('app', 'package.name') local_recipes = self.get_local_recipes_dir() requirements = ','.join(app_requirements) diff --git a/buildozer/targets/osx.py b/buildozer/targets/osx.py index eb9581a..0ffe8c5 100644 --- a/buildozer/targets/osx.py +++ b/buildozer/targets/osx.py @@ -111,9 +111,6 @@ class TargetOSX(Target): def build_package(self): self.buildozer.info('Building package') - kivy_app_dir = join( - self.buildozer.platform_dir, - 'kivy-sdk-packager-master', 'osx', 'Kivy.app') bc = self.buildozer.config bcg = bc.get @@ -122,15 +119,10 @@ class TargetOSX(Target): domain = bcg('app', 'package.domain') title = bcg('app', 'title') app_deps = open('requirements.txt').read() - garden_deps = bcgl('app', 'garden_requirements', '') icon = bc.getdefault('app', 'icon.filename', '') version = self.buildozer.get_version() author = bc.getdefault('app', 'author', '') - #print(title, package_name, domain, version, - # source_dir, app_deps, garden_deps, icon, author) - #return - self.buildozer.info('Create {}.app'.format(package_name)) cwd = join(self.buildozer.platform_dir,'kivy-sdk-packager-master', 'osx') # remove kivy from app_deps