Removes few unused variables

This commit is contained in:
Andre Miras 2018-06-18 18:45:57 +02:00
parent b154b7d84e
commit 794461190c
2 changed files with 0 additions and 9 deletions

View file

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

View file

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