429 return |
434 return |
430 |
435 |
431 global pyModDir, progLanguages |
436 global pyModDir, progLanguages |
432 |
437 |
433 # Remove the menu entry for Linux systems |
438 # Remove the menu entry for Linux systems |
434 if sys.platform.startswith("linux"): |
439 if sys.platform.startswith(("linux", "freebsd")): |
435 cleanUpLinuxSpecifics() |
440 cleanUpLinuxSpecifics() |
436 # Remove the Desktop and Start Menu entries for Windows systems |
441 # Remove the Desktop and Start Menu entries for Windows systems |
437 elif sys.platform.startswith(("win", "cygwin")): |
442 elif sys.platform.startswith(("win", "cygwin")): |
438 cleanUpWindowsLinks() |
443 cleanUpWindowsLinks() |
439 |
444 |
883 else: |
888 else: |
884 print("\nThe API directory '{0}' is not writable.".format(cfg["apidir"])) |
889 print("\nThe API directory '{0}' is not writable.".format(cfg["apidir"])) |
885 print("Use the API files provided by the 'API Files' plug-in.") |
890 print("Use the API files provided by the 'API Files' plug-in.") |
886 |
891 |
887 # Create menu entry for Linux systems |
892 # Create menu entry for Linux systems |
888 if sys.platform.startswith("linux"): |
893 if sys.platform.startswith(("linux", "freebsd")): |
889 createLinuxSpecifics() |
894 createLinuxSpecifics() |
890 |
895 |
891 # Create Desktop and Start Menu entries for Windows systems |
896 # Create Desktop and Start Menu entries for Windows systems |
892 elif sys.platform.startswith(("win", "cygwin")): |
897 elif sys.platform.startswith(("win", "cygwin")): |
893 createWindowsLinks() |
898 createWindowsLinks() |
1712 # determine the platform dependent black list |
1717 # determine the platform dependent black list |
1713 if sys.platform.startswith(("win", "cygwin")): |
1718 if sys.platform.startswith(("win", "cygwin")): |
1714 PlatformBlackLists = PlatformsBlackLists["windows"] |
1719 PlatformBlackLists = PlatformsBlackLists["windows"] |
1715 elif sys.platform.startswith("linux"): |
1720 elif sys.platform.startswith("linux"): |
1716 PlatformBlackLists = PlatformsBlackLists["linux"] |
1721 PlatformBlackLists = PlatformsBlackLists["linux"] |
|
1722 elif sys.platform.startswith("freebsd"): |
|
1723 PlatformBlackLists = PlatformsBlackLists["freebsd"] |
1717 else: |
1724 else: |
1718 PlatformBlackLists = PlatformsBlackLists["mac"] |
1725 PlatformBlackLists = PlatformsBlackLists["mac"] |
1719 |
1726 |
1720 print("\nVersion Information") |
1727 print("\nVersion Information") |
1721 print("-------------------") |
1728 print("-------------------") |