diff options
author | Calum Lind <calumlind@gmail.com> | 2016-11-16 23:18:18 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-17 13:19:41 +0100 |
commit | 36cbfa8c618f86bcb6c08c52095be83c10c976a3 (patch) | |
tree | 6a6893d2f991b86953c181b0e348528b1347a411 /packaging | |
parent | [Lint] Quote cleanup (diff) | |
download | deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.tar.xz deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.zip |
[Lint] Fix files to pass Flake8 v3.2.0
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/win32/deluge-bbfreeze.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/win32/deluge-bbfreeze.py b/packaging/win32/deluge-bbfreeze.py index dd69f13a2..0ee03e371 100644 --- a/packaging/win32/deluge-bbfreeze.py +++ b/packaging/win32/deluge-bbfreeze.py @@ -47,6 +47,7 @@ class VersionInfo(object): self.debug = debug self.verbose = verbose + DEBUG = False if len(sys.argv) == 2 and sys.argv[1].lower() == 'debug': DEBUG = True @@ -79,6 +80,8 @@ def recipe_gtk_override(mf): # Override bbfreeze function so that it includes all gtk libraries # in the installer so users don't require a separate GTK+ installation. return True + + bbfreeze.recipes.recipe_gtk_and_friends = recipe_gtk_override # Workaround for "ImportError: The 'packaging' package is required" with setuptools > 18.8. @@ -147,6 +150,8 @@ def ignored_files(adir, ignore_filenames): if not os.path.isdir(os.path.join(adir, ignore_file)) and ignore_file not in locale_include_list ] + + shutil.copytree(gtk_locale, os.path.join(build_dir, 'share/locale'), ignore=ignored_files) # Copy gtk theme files. |