Sridhar Ratnakumar <sridh...@activestate.com> added the comment: Here it is:
def get_current_scheme(): scheme = os.name if scheme == 'posix': scheme = 'posix_prefix' return scheme def get_current_user_scheme(): scheme = os.name if sys.platform == 'darwin': scheme = 'osx_framework_user' else: scheme += '_user' return scheme What do you think? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com