aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <ctismer@gmail.com>2015-11-15 16:49:14 +0100
committerChristian Tismer <ctismer@gmail.com>2015-11-15 16:49:14 +0100
commit1239b0cbe77c610600a3d99482f48688a0f2282d (patch)
tree15dc2f4d7b78d8381413318502b52253531ca65e
parent77d633b3ea3293e54b6c6ac37afd29a7831c2afc (diff)
fix the windows debugging _d suffix
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 8f94f164..a4132567 100644
--- a/setup.py
+++ b/setup.py
@@ -953,13 +953,14 @@ class pyside_build(_build):
# pdb files for libshiboken and libpyside
if self.debug or self.build_type == 'RelWithDebInfo':
+ # XXX dbgPostfix gives peroblems - the structure in shiboken2/data should be re-written!
copyfile(
"{build_dir}/shiboken2/libshiboken/shiboken2-python{py_version}{dbgPostfix}.pdb",
- "{dist_dir}/PySide2/shiboken2-python{py_version}{dbgPostfix}.pdb",
+ "{dist_dir}/PySide2/shiboken2-python{py_version}.pdb", # omitted dbgPostfix
vars=vars)
copyfile(
"{build_dir}/pyside2/libpyside/pyside2-python{py_version}{dbgPostfix}.pdb",
- "{dist_dir}/PySide2/pyside2-python{py_version}{dbgPostfix}.pdb",
+ "{dist_dir}/PySide2/pyside2-python{py_version}.pdb", # omitted dbgPostfix
vars=vars)
def update_rpath(self, package_path, executables):