diff options
Diffstat (limited to 'pyside_postinstall.py')
-rw-r--r-- | pyside_postinstall.py | 5 |
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
|