aboutsummaryrefslogtreecommitdiffstats
path: root/python/build
diff options
context:
space:
mode:
Diffstat (limited to '')
-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')