From 602ffd4c71dbe7a7b5fd6538417a5d03a63ad3a9 Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Fri, 4 Sep 2020 12:55:39 -0700 Subject: [PATCH] Fix freezing with setuptools 45.0, see https://github.com/pypa/setuptools/issues/1963 --- setup_exe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_exe.py b/setup_exe.py index aaebede..23cfd21 100644 --- a/setup_exe.py +++ b/setup_exe.py @@ -5,7 +5,7 @@ # Dependencies are automatically detected, but it might need # fine tuning. -buildOptions = dict(packages = ['pyproj.datadir'], +buildOptions = dict(packages = ['pyproj.datadir', 'pkg_resources.py2_warn'], excludes = ['numpy.fft'], # https://github.com/anthony-tuininga/cx_Freeze/issues/278#issuecomment-542316877 include_files = ['C:\\Windows\\System32\\vcruntime140.dll'])