From 99c3e16dff52489a4bc3d7a60925dcf875ae7ddf Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 25 Apr 2017 22:00:16 -0700 Subject: [PATCH] deploy-ng: Do not copy py files These should all be frozen. If not, we need to fix our module finder. --- direct/src/showutil/dist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/direct/src/showutil/dist.py b/direct/src/showutil/dist.py index 029656086b..547fee29c2 100644 --- a/direct/src/showutil/dist.py +++ b/direct/src/showutil/dist.py @@ -237,7 +237,9 @@ class build_apps(distutils.core.Command): ignore_copy_list = [ '__pycache__', '*.pyc', - ] + list(freezer_modules) + self.exclude_paths + list(self.gui_apps.values()) + list(self.console_apps.values()) + '*.py', + ] + ignore_copy_list += self.exclude_paths ignore_copy_list = [p3d.GlobPattern(i) for i in ignore_copy_list] def copy_file(src, dst):