diff options
author | Bjoern Thiel <bjoern.thiel@mpibpc.mpg.de> | 2014-03-31 09:20:39 +0200 |
---|---|---|
committer | Bjoern Thiel <bjoern.thiel@mpibpc.mpg.de> | 2014-03-31 09:20:39 +0200 |
commit | a8f1cf676125f314c99645fb27c707bd678db491 (patch) | |
tree | e13a9134aa6deafc632e9b4434b6e42b662582cd /setup.py | |
parent | 588e3baf0d41915895253acf21f991af66e4b9d3 (diff) |
Enable debug build for Python 3 as well
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -580,9 +580,10 @@ class pyside_build(_build): cmake_cmd.append("-DPYTHON_LIBRARY=%s" % self.py_library) if self.build_type.lower() == 'debug': cmake_cmd.append("-DPYTHON_DEBUG_LIBRARY=%s" % self.py_library) - if sys.platform == "win32" and self.build_type.lower() == 'debug': - cmake_cmd.append("-DCMAKE_DEBUG_POSTFIX=_d") - + + if sys.platform == 'win32': + cmake_cmd.append("-DCMAKE_DEBUG_POSTFIX=_d") + if extension.lower() == "shiboken": cmake_cmd.append("-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=yes") if sys.version_info[0] > 2: |