summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-11-23 10:38:48 +0100
committerMax Kellermann <max@duempel.org>2015-11-23 10:38:48 +0100
commit21439108ed48776a97c74c2f4666ee2577263d04 (patch)
tree4d20006250d3c7e46a00815dc4ec35823530f52f /python
parent754b30a7a6ea9d0200e36c9b66819d9c1d40b05e (diff)
{android,win32}/build.py: move code to python/build/dirs.py
Diffstat (limited to 'python')
-rw-r--r--python/build/dirs.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/build/dirs.py b/python/build/dirs.py
new file mode 100644
index 000000000..bdbf2b18c
--- /dev/null
+++ b/python/build/dirs.py
@@ -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')