{android,win32}/build.py: move code to python/build/dirs.py

This commit is contained in:
Max Kellermann
2015-11-23 10:38:48 +01:00
parent 754b30a7a6
commit 21439108ed
3 changed files with 11 additions and 14 deletions
android
python/build
win32

9
python/build/dirs.py Normal file

@ -0,0 +1,9 @@
import os.path
lib_path = os.path.abspath('lib')
shared_path = lib_path
if 'MPD_SHARED_LIB' in os.environ:
shared_path = os.environ['MPD_SHARED_LIB']
tarball_path = os.path.join(shared_path, 'download')
src_path = os.path.join(shared_path, 'src')