scripts/install.py

branch
eric7
changeset 8881
54e42bc2437a
parent 8821
0485c183b718
child 8918
2167e507b277
equal deleted inserted replaced
8880:4b631598f752 8881:54e42bc2437a
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2002 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 # This is the install script for eric. 6 # This is the install script for eric.
7 7
8 """ 8 """
9 Installation script for the eric IDE and all eric related tools. 9 Installation script for the eric IDE and all eric related tools.
1167 elif os.path.exists(os.path.join("eric7", "UI", "Info.py")): 1167 elif os.path.exists(os.path.join("eric7", "UI", "Info.py")):
1168 # Installing from source tree 1168 # Installing from source tree
1169 from eric7.UI.Info import Version, CopyrightShort 1169 from eric7.UI.Info import Version, CopyrightShort
1170 else: 1170 else:
1171 Version = "Unknown" 1171 Version = "Unknown"
1172 CopyrightShort = "(c) 2002 - 2021 Detlev Offenbach" 1172 CopyrightShort = "(c) 2002 - 2022 Detlev Offenbach"
1173 1173
1174 copyToFile( 1174 copyToFile(
1175 os.path.join(directories["contents"], "Info.plist"), 1175 os.path.join(directories["contents"], "Info.plist"),
1176 '''<?xml version="1.0" encoding="UTF-8"?>\n''' 1176 '''<?xml version="1.0" encoding="UTF-8"?>\n'''
1177 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n''' 1177 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n'''

eric ide

mercurial