scripts/install.py

changeset 7923
91e843545d9a
parent 7921
0d429bd82699
child 7960
e8fc383322f7
equal deleted inserted replaced
7921:0d429bd82699 7923:91e843545d9a
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2002 - 2020 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 # This is the install script for eric6. 6 # This is the install script for eric6.
7 7
8 """ 8 """
9 Installation script for the eric6 IDE and all eric6 related tools. 9 Installation script for the eric6 IDE and all eric6 related tools.
1148 elif os.path.exists(os.path.join("eric6", "UI", "Info.py")): 1148 elif os.path.exists(os.path.join("eric6", "UI", "Info.py")):
1149 # Installing from source tree 1149 # Installing from source tree
1150 from eric6.UI.Info import Version, CopyrightShort 1150 from eric6.UI.Info import Version, CopyrightShort
1151 else: 1151 else:
1152 Version = "Unknown" 1152 Version = "Unknown"
1153 CopyrightShort = "(c) 2002 - 2020 Detlev Offenbach" 1153 CopyrightShort = "(c) 2002 - 2021 Detlev Offenbach"
1154 1154
1155 copyToFile( 1155 copyToFile(
1156 os.path.join(directories["contents"], "Info.plist"), 1156 os.path.join(directories["contents"], "Info.plist"),
1157 '''<?xml version="1.0" encoding="UTF-8"?>\n''' 1157 '''<?xml version="1.0" encoding="UTF-8"?>\n'''
1158 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n''' 1158 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n'''

eric ide

mercurial