From d79e943844dc5fdb68e9f28ccea346eb6d35dc19 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 12 Jun 2018 08:41:38 +0530 Subject: [PATCH] Dont build docs when freezing --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index eefa1d54a..cf1712ce8 100755 --- a/setup.py +++ b/setup.py @@ -788,7 +788,8 @@ def main(): ) elif args.action == 'linux-package': build(args, native_optimizations=False) - run_tool(['make', 'docs']) + if not args.for_freeze: + run_tool(['make', 'docs']) package(args) elif args.action == 'osx-bundle': build(args, native_optimizations=False)