From 9373409b084b74bbd0f7ef96dc279ee62634874e Mon Sep 17 00:00:00 2001 From: Ben Hagen Date: Wed, 3 Feb 2016 17:56:48 +0100 Subject: [PATCH] Use '~/.python-for-android' as storage_dir (fixes #622) --- pythonforandroid/build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pythonforandroid/build.py b/pythonforandroid/build.py index ae54a29266..76504f0b92 100644 --- a/pythonforandroid/build.py +++ b/pythonforandroid/build.py @@ -8,7 +8,6 @@ import sys import re import sh -from appdirs import user_data_dir from pythonforandroid.util import (ensure_dir, current_directory) from pythonforandroid.logger import (info, warning, error, info_notify, @@ -94,7 +93,7 @@ def setup_dirs(self): self.root_dir = realpath(dirname(__file__)) # AND: TODO: Allow the user to set the build_dir - self.storage_dir = user_data_dir('python-for-android') + self.storage_dir = expanduser('~/.python-for-android') self.build_dir = join(self.storage_dir, 'build') self.dist_dir = join(self.storage_dir, 'dists')