Skip to content

Commit

Permalink
[FIX] packaging: windows: correctly include reportlab font files
Browse files Browse the repository at this point in the history
Without this patch, the fonts are not included and the barcodes in the
reports were not displayed.
  • Loading branch information
sle-odoo committed Oct 24, 2016
1 parent 4d1fc7e commit 7974cc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7974cc6

Please sign in to comment.