aboutsummaryrefslogtreecommitdiffstats
path: root/pyside_postinstall.py
diff options
context:
space:
mode:
authorRoman Lacko <backup.rlacko@gmail.com>2013-07-02 12:56:15 +0200
committerRoman Lacko <backup.rlacko@gmail.com>2013-07-02 12:56:15 +0200
commit0b8386326fa1992ac25271297c8f44debb681c90 (patch)
treeaa89625c08a199830fdbd91624fdef24ceab7449 /pyside_postinstall.py
parent7d3a13c26bb82255441329c68eefe646c00c8c22 (diff)
Since version 1.2.0 there is no need to run post install procedure on win32
Diffstat (limited to 'pyside_postinstall.py')
-rw-r--r--pyside_postinstall.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyside_postinstall.py b/pyside_postinstall.py
index 0b1a7979a..3cae89970 100644
--- a/pyside_postinstall.py
+++ b/pyside_postinstall.py
@@ -248,6 +248,11 @@ def install_win32():
pyside_path = pyside_path.replace("lib/site-packages", "Lib/site-packages")
print("PySide package found in %s..." % pyside_path)
+ # Since version 1.2.0 there is no need to run post install procedure on win32
+ from PySide import __version_info__ as pyside_version_info
+ if pyside_version_info >= (1,2,0):
+ return
+
if is_bdist_wininst:
# Run from inside the bdist_wininst installer
import distutils.sysconfig