scripts/install.py

branch
eric7
changeset 9653
e67609152c5e
parent 9632
dd907ee33b03
child 9654
7328efba128b
child 9674
43dd357b3bff
equal deleted inserted replaced
9652:75881562981b 9653:e67609152c5e
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2002 - 2022 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2023 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.
1219 elif os.path.exists(os.path.join("eric7", "UI", "Info.py")): 1219 elif os.path.exists(os.path.join("eric7", "UI", "Info.py")):
1220 # Installing from source tree 1220 # Installing from source tree
1221 from eric7.UI.Info import CopyrightShort, Version 1221 from eric7.UI.Info import CopyrightShort, Version
1222 else: 1222 else:
1223 Version = "Unknown" 1223 Version = "Unknown"
1224 CopyrightShort = "(c) 2002 - 2022 Detlev Offenbach" 1224 CopyrightShort = "(c) 2002 - 2023 Detlev Offenbach"
1225 1225
1226 copyToFile( 1226 copyToFile(
1227 os.path.join(directories["contents"], "Info.plist"), 1227 os.path.join(directories["contents"], "Info.plist"),
1228 """<?xml version="1.0" encoding="UTF-8"?>\n""" 1228 """<?xml version="1.0" encoding="UTF-8"?>\n"""
1229 """<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n""" 1229 """<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n"""

eric ide

mercurial