refactor setupmac

 On branch master

	modified:   libexec/ksys-setupmac
	modified:   libexec/lib/pyutil.py