Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix setup.py #87

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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")],
Expand Down