From b936c6bc7cb9afb152881f419eb8c90bc52fb051 Mon Sep 17 00:00:00 2001 From: Sebastian Serrano Date: Thu, 25 Mar 2021 23:40:50 -0300 Subject: [PATCH 1/2] fix print bug --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2f1634765..489b502fe 100644 --- a/setup.py +++ b/setup.py @@ -81,7 +81,7 @@ import designer except ImportError: # el script pyfpdf/tools/designer.py no esta disponible: - print "IMPORTANTE: no se incluye el diseƱador de plantillas PDF" + print("IMPORTANTE: no se incluye el diseƱador de plantillas PDF") # parametros para setup: kwargs = {} From b2f3c8aba26dfc1c152d24db944f4195d35dd322 Mon Sep 17 00:00:00 2001 From: Sebastian Serrano Date: Thu, 25 Mar 2021 23:44:11 -0300 Subject: [PATCH 2/2] fix inconsistent use of tabs and spaces in indentation --- setup.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 489b502fe..03ee521a6 100644 --- a/setup.py +++ b/setup.py @@ -99,10 +99,10 @@ )] # fix permission denied runtime error on win32com.client.gencache.GenGeneratePath # (expects a __init__.py not pyc, also dicts.dat pickled or _LoadDicts/_SaveDicts will fail too) - # NOTE: on windows 8.1 64 bits, this is stored in C:\Users\REINGART\AppData\\Local\Temp\gen_py\2.7 - from win32com.client import gencache - gen_py_path = gencache.GetGeneratePath() or "C:\Python27\lib\site-packages\win32com\gen_py" - data_files += [( + # NOTE: on windows 8.1 64 bits, this is stored in C:\Users\REINGART\AppData\\Local\Temp\gen_py\2.7 + from win32com.client import gencache + gen_py_path = gencache.GetGeneratePath() or "C:\Python27\lib\site-packages\win32com\gen_py" + data_files += [( r"win32com\gen_py", [os.path.join(gen_py_path, "__init__.py"), os.path.join(gen_py_path, "dicts.dat")],