From fdf0d9974e3216142c27d888d0eb7fdf1e832d73 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 24 May 2018 22:58:33 +1200 Subject: cibuild: more accurate PR test, better dump output --- release/cibuild.py | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'release') diff --git a/release/cibuild.py b/release/cibuild.py index 9d99d8d9..37381527 100755 --- a/release/cibuild.py +++ b/release/cibuild.py @@ -210,16 +210,25 @@ class BuildEnviron: return False def dump_info(self, fp=sys.stdout): - print("BUILD PLATFORM_TAG=%s" % self.platform_tag, file=fp) - print("BUILD ROOT_DIR=%s" % self.root_dir, file=fp) - print("BUILD RELEASE_DIR=%s" % self.release_dir, file=fp) - print("BUILD BUILD_DIR=%s" % self.build_dir, file=fp) - print("BUILD DIST_DIR=%s" % self.dist_dir, file=fp) - print("BUILD BDISTS=%s" % self.bdists, file=fp) - print("BUILD TAG=%s" % self.tag, file=fp) - print("BUILD BRANCH=%s" % self.branch, file=fp) - print("BUILD VERSION=%s" % self.version, file=fp) - print("BUILD UPLOAD_DIR=%s" % self.upload_dir, file=fp) + lst = [ + "version", + "tag", + "branch", + "platform_tag", + "root_dir", + "release_dir", + "build_dir", + "dist_dir", + "bdists", + "upload_dir", + "should_build_wheel", + "should_build_pyinstaller", + "should_build_docker", + "should_upload_docker", + "should_upload_pypi", + ] + for attr in lst: + print("cibuild.%s=%s" % (attr, getattr(self, attr)), file=fp) def build_wheel(be: BuildEnviron): # pragma: no cover -- cgit v1.2.3