install.py

branch
maintenance
changeset 6923
d062df8f1d9f
parent 6906
a34f0dc442a1
child 6939
af0ca76e26fd
equal deleted inserted replaced
6827:14680839ad7a 6923:d062df8f1d9f
867 copyTree( 867 copyTree(
868 '{1}{0}Styles'.format(os.sep, sourceDir), cfg['ericStylesDir'], 868 '{1}{0}Styles'.format(os.sep, sourceDir), cfg['ericStylesDir'],
869 ['*.qss']) 869 ['*.qss'])
870 copyTree( 870 copyTree(
871 '{1}{0}Styles'.format(os.sep, sourceDir), cfg['ericStylesDir'], 871 '{1}{0}Styles'.format(os.sep, sourceDir), cfg['ericStylesDir'],
872 ['*.e4h']) 872 ['*.e4h', '*.e6h'])
873 copyTree( 873 copyTree(
874 '{1}{0}i18n'.format(os.sep, sourceDir), cfg['ericTranslationsDir'], 874 '{1}{0}i18n'.format(os.sep, sourceDir), cfg['ericTranslationsDir'],
875 ['*.qm']) 875 ['*.qm'])
876 copyTree( 876 copyTree(
877 '{1}{0}icons'.format(os.sep, sourceDir), cfg['ericIconDir'], 877 '{1}{0}icons'.format(os.sep, sourceDir), cfg['ericIconDir'],
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

eric ide

mercurial