scripts/install.py

branch
eric7
changeset 11090
f5f5f5803935
parent 11053
5f044e09aba5
child 11092
e2aaf07ef8fd
equal deleted inserted replaced
11089:ce73f15bbea5 11090:f5f5f5803935
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 # Copyright (c) 2002 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2025 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.
1235 elif os.path.exists(os.path.join("eric7", "__version__.py")): 1235 elif os.path.exists(os.path.join("eric7", "__version__.py")):
1236 # Installing from source tree 1236 # Installing from source tree
1237 from eric7.__version__ import CopyrightShort, Version # noqa: I101 1237 from eric7.__version__ import CopyrightShort, Version # noqa: I101
1238 else: 1238 else:
1239 Version = "Unknown" 1239 Version = "Unknown"
1240 CopyrightShort = "(c) 2002 - 2024 Detlev Offenbach" 1240 CopyrightShort = "(c) 2002 - 2025 Detlev Offenbach"
1241 1241
1242 copyToFile( 1242 copyToFile(
1243 os.path.join(directories["contents"], "Info.plist"), 1243 os.path.join(directories["contents"], "Info.plist"),
1244 """<?xml version="1.0" encoding="UTF-8"?>\n""" 1244 """<?xml version="1.0" encoding="UTF-8"?>\n"""
1245 """<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n""" 1245 """<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"\n"""

eric ide

mercurial