From 801d7d8c5dd530d26ad6c4bcc94d986e6e022da4 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sun, 2 Apr 2017 02:29:52 +0300 Subject: python: Generate files into build directory * lang/python/setup.py.in: Generate files within BuildExtFirstHack adjust build flags at this point instead of global. * lang/python/Makefile.am: Remove logic of separate source directory per python version in favor of build directory. * lang/python/tests/run-tests.py: Adjust build directory location. -- Generate files into build directory, leaving the source directory clean. Use the same source directory for multiple python version build. Result of 'prepare' target is a standard distutil layout that can be used easily by downstream to build all python targets in-place. Signed-off-by: Alon Bar-Lev --- lang/python/tests/run-tests.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lang/python/tests/run-tests.py') diff --git a/lang/python/tests/run-tests.py b/lang/python/tests/run-tests.py index 9e061d83..9e2fb78c 100644 --- a/lang/python/tests/run-tests.py +++ b/lang/python/tests/run-tests.py @@ -71,7 +71,6 @@ for interpreter in args.interpreters: pattern = os.path.join(args.builddir, "..", "python{0}-gpg".format(version), - "build", "lib*"+version) builddirs = glob.glob(pattern) if len(builddirs) == 0: -- cgit v1.2.3