File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os
22import sys
3- import util
3+ import platform
44
55from setuptools import setup , find_packages
66
7+ import util
8+
9+ if os .name != "nt" :
10+ print ("""
11+ \n The binaries distributed with this version are Windows only,
12+ - If you are on linux, look at
13+ github.com/pyqt/python-qt5/wiki/Compiling-PyQt5-on-Ubuntu-12.04.
14+ - If you are on OS X, look at the OSX specific port:
15+ github.com/pyqt/python-qt5-mavericks
16+ """ )
17+
18+ sys .exit ()
19+
20+ if "64bit" not in platform .architecture ():
21+ print ("""
22+ \n The binaries distributed wtih this version are for the
23+ 64-bit version of Python only.
24+ """ )
25+
26+ sys .exit ()
727
828def get_version ():
929 repo_dir = os .path .dirname (__file__ )
@@ -73,4 +93,4 @@ def get_readme():
7393 classifiers = classifiers ,
7494 package_data = get_package_data (),
7595 data_files = get_data_files ()
76- )
96+ )
You can’t perform that action at this time.
0 commit comments