From 8f4829839728816dd79ca3b1f1714d652f808f6c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 31 Jul 2021 18:40:29 +0300
Subject: [PATCH] Force include dataclasses in the binary.

Let's see if that fixes the issue with Python 3.6 in Centos build image.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8f762c1..f348e25 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 all: dist/mnpw
 
 dist/mnpw: mnpw/*.py pyproject.toml *.rst LICENSE.txt
-	pyinstaller --noconfirm --onefile "--name=$$(basename $@)" mnpw/__init__.py
+	pyinstaller --noconfirm --onefile "--name=$$(basename $@)" --hidden-import dataclasses  mnpw/__init__.py
 
 .PHONY: clean
 clean:
-- 
GitLab