Skip to content

Commit

Permalink
Use '~/.python-for-android' as storage_dir (fixes kivy#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbenhagen committed Feb 3, 2016
1 parent 864e7bf commit 9373409
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pythonforandroid/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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')

Expand Down

0 comments on commit 9373409

Please sign in to comment.