1903 initGlobals() |
1903 initGlobals() |
1904 |
1904 |
1905 try: |
1905 try: |
1906 if sys.platform.startswith(("win", "cygwin")): |
1906 if sys.platform.startswith(("win", "cygwin")): |
1907 optlist, args = getopt.getopt( |
1907 optlist, args = getopt.getopt( |
1908 argv[1:], "chxyza:b:d:f:", ["help", "pyqt=", "noapis"]) |
1908 argv[1:], "chxyza:b:d:f:", |
|
1909 ["help", "pyqt=", "no-apis"]) |
1909 elif sys.platform == "darwin": |
1910 elif sys.platform == "darwin": |
1910 optlist, args = getopt.getopt( |
1911 optlist, args = getopt.getopt( |
1911 argv[1:], "chxyza:b:d:f:i:m:n:p:", ["help", "pyqt=", "noapis"]) |
1912 argv[1:], "chxyza:b:d:f:i:m:n:p:", |
|
1913 ["help", "pyqt=", "no-apis"]) |
1912 else: |
1914 else: |
1913 optlist, args = getopt.getopt( |
1915 optlist, args = getopt.getopt( |
1914 argv[1:], "chxyza:b:d:f:i:", ["help", "pyqt=", "noapis"]) |
1916 argv[1:], "chxyza:b:d:f:i:", |
|
1917 ["help", "pyqt=", "no-apis"]) |
1915 except getopt.GetoptError as err: |
1918 except getopt.GetoptError as err: |
1916 print(err) |
1919 print(err) |
1917 usage() |
1920 usage() |
1918 |
1921 |
1919 global platBinDir |
1922 global platBinDir |