diff --git a/buildozer/__init__.py b/buildozer/__init__.py index d51d638..4d9702e 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -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') diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index b962868..46823e9 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -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,