scripts/install.py

branch
maintenance
changeset 7362
028bf21bb5a2
parent 7345
bc0ee7fadd03
parent 7360
9190402e4505
child 7503
b17672e6812d
equal deleted inserted replaced
7351:274baadc5686 7362:028bf21bb5a2
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2002 - 2019 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2020 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.
1121 elif os.path.exists(os.path.join("eric6", "UI", "Info.py")): 1121 elif os.path.exists(os.path.join("eric6", "UI", "Info.py")):
1122 # Installing from source tree 1122 # Installing from source tree
1123 from eric6.UI.Info import Version, CopyrightShort 1123 from eric6.UI.Info import Version, CopyrightShort
1124 else: 1124 else:
1125 Version = "Unknown" 1125 Version = "Unknown"
1126 CopyrightShort = "(c) 2002 - 2019 Detlev Offenbach" 1126 CopyrightShort = "(c) 2002 - 2020 Detlev Offenbach"
1127 1127
1128 copyToFile( 1128 copyToFile(
1129 os.path.join(directories["contents"], "Info.plist"), 1129 os.path.join(directories["contents"], "Info.plist"),
1130 '''<?xml version="1.0" encoding="UTF-8"?>\n''' 1130 '''<?xml version="1.0" encoding="UTF-8"?>\n'''
1131 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n''' 1131 '''<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n'''

eric ide

mercurial