From a856aec502d7afafa95c9c72c28d7130e62b11d8 Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 19 Sep 2020 10:06:05 -0400 Subject: [PATCH] Exclude unnecessary test module There is no need for this module, and it also results into detection of tkinter and deps, which require libX11 xref: https://github.com/pyinstaller/pyinstaller/issues/5040#issuecomment-695214577 --- recipe/conda.exe.spec | 2 +- recipe/meta.yaml | 2 +- recipe/yum_requirements.txt | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 recipe/yum_requirements.txt diff --git a/recipe/conda.exe.spec b/recipe/conda.exe.spec index 08e747a..b120cc2 100644 --- a/recipe/conda.exe.spec +++ b/recipe/conda.exe.spec @@ -16,7 +16,7 @@ a = Analysis(['entry_point.py', 'imports.py'], hiddenimports=['pkg_resources.py2_warn'], hookspath=[], runtime_hooks=[], - excludes=[], + excludes=['test'], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 4292da2..a8d29c1 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -27,7 +27,7 @@ source: folder: constructor # [win] build: - number: 0 + number: 1 requirements: host: diff --git a/recipe/yum_requirements.txt b/recipe/yum_requirements.txt deleted file mode 100644 index 8991c68..0000000 --- a/recipe/yum_requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -libx11 -libXext-devel -libXrender-devel -libSM-devel -libX11-devel