From cf86470781ed9004bf8ac7480ededd533cc7063a Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sat, 4 Jul 2009 09:30:10 +0000 Subject: [PATCH] add platform constants svn: r12762 --- src/const.py.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/const.py.in b/src/const.py.in index e01af6cb8..638d6e0bf 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -191,6 +191,16 @@ XMLFILE = "data.gramps" NO_SURNAME = "(%s)" % _("none") NO_GIVEN = "(%s)" % _("none") +#------------------------------------------------------------------------- +# +# Platforms +# Never test on LINUX, handle Linux in the else statement as default +# +#------------------------------------------------------------------------- +LINUX = ["Linux", "linux"] +MACOS = ["Darwin", "darwin"] +WINDOWS = ["Windows", "win32"] + #------------------------------------------------------------------------- # # Options Constants