Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/commoncode/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def os_arch():
os = "mac"
elif "freebsd" in sys_platform:
os = "freebsd"
elif "openbsd" in sys_platform:
os = "openbsd"
elif "sunos" in sys_platform:
os = "sunos"
elif "haiku" in sys_platform:
Expand All @@ -49,9 +51,12 @@ def os_arch():
on_mac = current_os == "mac"
on_linux = current_os == "linux"
on_freebsd = current_os == "freebsd"
on_openbsd = current_os == "openbsd"
on_sunos = current_os == "sunos"
on_haiku = current_os == "haiku"
on_posix = not on_windows and (on_mac or on_linux or on_freebsd or on_sunos or on_haiku)
on_posix = not on_windows and (
on_mac or on_linux or on_freebsd or on_openbsd or on_sunos or on_haiku
)

current_os_arch = "%(current_os)s-%(current_arch)s" % locals()
noarch = "noarch"
Expand Down