From 21439108ed48776a97c74c2f4666ee2577263d04 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 Nov 2015 10:38:48 +0100 Subject: {android,win32}/build.py: move code to python/build/dirs.py --- win32/build.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'win32') diff --git a/win32/build.py b/win32/build.py index 05095d86f..a4fc411a8 100755 --- a/win32/build.py +++ b/win32/build.py @@ -16,13 +16,7 @@ mpd_path = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]) or '.', '.. sys.path[0] = os.path.join(mpd_path, 'python') # output directories -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') +from build.dirs import lib_path, tarball_path, src_path arch_path = os.path.join(lib_path, host_arch) build_path = os.path.join(arch_path, 'build') -- cgit v1.2.3