Browse Source

deploy-ng: Do not copy py files

These should all be frozen. If not, we need to fix our module finder.
Mitchell Stokes 8 years ago
parent
commit
99c3e16dff
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/showutil/dist.py

+ 3 - 1
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):