mac_getplatform.py 189 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/python

import distutils.util
import sys

def main(argv=None):
    print(';'.join(distutils.util.get_platform().split('-')[1:]))

if __name__ == "__main__":
    sys.exit(main())