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", "")), |