I am creating a setup file for a tarball, and I need a way to determine the exact name of the system.
I tried os.name
, but it returns 'posix' regardless of whether the system is mac or linux.
Is there a way to get a more specific OS name?
I am creating a setup file for a tarball, and I need a way to determine the exact name of the system.
I tried os.name
, but it returns 'posix' regardless of whether the system is mac or linux.
Is there a way to get a more specific OS name?
Simplest way:
On Mac it outputs something like 'darwin'