From 0b8386326fa1992ac25271297c8f44debb681c90 Mon Sep 17 00:00:00 2001 From: Roman Lacko Date: Tue, 2 Jul 2013 12:56:15 +0200 Subject: Since version 1.2.0 there is no need to run post install procedure on win32 --- pyside_postinstall.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pyside_postinstall.py') 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 -- cgit v1.2.3