enjoy of the latest python-for-android addition: cache for packages. set correctly the PACKAGES_PATH to the global buildozer directory/target/packages
This commit is contained in:
parent
b7bf56ecee
commit
cca30b454a
2 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,7 @@ Layout directory for buildozer:
|
|||
|
||||
'''
|
||||
|
||||
__version__ = '0.8'
|
||||
__version__ = '0.9'
|
||||
|
||||
import fcntl
|
||||
import os
|
||||
|
@ -670,6 +670,10 @@ class Buildozer(object):
|
|||
def app_dir(self):
|
||||
return join(self.buildozer_dir, self.targetname, 'app')
|
||||
|
||||
@property
|
||||
def packages_dir(self):
|
||||
return join(self.buildozer_dir, self.targetname, 'packages')
|
||||
|
||||
@property
|
||||
def applibs_dir(self):
|
||||
return join(self.buildozer_dir, 'applibs')
|
||||
|
|
|
@ -321,6 +321,7 @@ class TargetAndroid(Target):
|
|||
self.check_configuration_tokens()
|
||||
|
||||
self.buildozer.environ.update({
|
||||
'PACKAGES_PATH': self.buildozer.packages_dir,
|
||||
'ANDROIDSDK': self.android_sdk_dir,
|
||||
'ANDROIDNDK': self.android_ndk_dir,
|
||||
'ANDROIDAPI': self.android_api,
|
||||
|
|
Loading…
Reference in a new issue