From 7974cc6597bfe41f00ecffc2653b0e80d8809054 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 24 Oct 2016 13:59:50 +0200 Subject: [PATCH] [FIX] packaging: windows: correctly include reportlab font files Without this patch, the fonts are not included and the barcodes in the reports were not displayed. --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 7f5d553e74d81..285e238bc53a5 100644 --- a/setup.py +++ b/setup.py @@ -36,9 +36,11 @@ def py2exe_datafiles(): import docutils import passlib + import reportlab import requests data_mapping = ((docutils, 'docutils'), (passlib, 'passlib'), + (reportlab, 'reportlab'), (requests, 'requests')) for mod, datadir in data_mapping: