deploy-ng: Do not copy py files

These should all be frozen. If not, we need to fix our module finder.
This commit is contained in:
Mitchell Stokes 2017-04-25 22:00:16 -07:00
parent 61513593c5
commit 99c3e16dff
1 changed files with 3 additions and 1 deletions

View File

@ -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):