scripts/install.py

branch
eric7
changeset 10525
e2b37b8ae403
parent 10518
1682f3203ae5
child 10534
783d835d7fe4
child 10595
59579e8aff98
equal deleted inserted replaced
10524:ed4fd87c4d4c 10525:e2b37b8ae403
957 ) 957 )
958 ): 958 ):
959 if not os.path.exists(directory): 959 if not os.path.exists(directory):
960 os.makedirs(directory) 960 os.makedirs(directory)
961 961
962 # TODO: add MPy entry
963 dst = os.path.normpath(os.path.join(distDir, "usr/share/icons")) 962 dst = os.path.normpath(os.path.join(distDir, "usr/share/icons"))
964 for icon in ("eric_icon.png", "ericMPy48_icon.png", "ericWeb48_icon.png"): 963 for icon in ("eric_icon.png", "ericMPy48_icon.png", "ericWeb48_icon.png"):
965 shutilCopy( 964 shutilCopy(
966 os.path.join(eric7SourceDir, "pixmaps", icon), 965 os.path.join(eric7SourceDir, "pixmaps", icon),
967 os.path.join(dst, icon.replace("_icon", "").replace("48", "")), 966 os.path.join(dst, icon.replace("_icon", "").replace("48", "")),

eric ide

mercurial