[#2828] [Packaging] Fix ImportError with setuptools version > 18.8
This commit is contained in:
parent
fcb65940d9
commit
1a11e085b2
|
@ -80,6 +80,10 @@ def recipe_gtk_override(mf):
|
|||
return True
|
||||
bbfreeze.recipes.recipe_gtk_and_friends = recipe_gtk_override
|
||||
|
||||
# Workaround for "ImportError: The 'packaging' package is required" with setuptools > 18.8.
|
||||
# (https://github.com/pypa/setuptools/issues/517)
|
||||
bbfreeze.recipes.recipe_pkg_resources = bbfreeze.recipes.include_whole_package("pkg_resources")
|
||||
|
||||
fzr = bbfreeze.Freezer(build_dir, includes=includes, excludes=excludes)
|
||||
fzr.include_py = False
|
||||
fzr.setIcon(os.path.join(os.path.dirname(deluge.common.__file__), "data", "pixmaps", "deluge.ico"))
|
||||
|
|
Loading…
Reference in New Issue