From 5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Tue, 19 Sep 2006 21:19:27 +0000 Subject: Added licence informations. --- main.py | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index f1f3b7d..fa81c58 100755 --- a/main.py +++ b/main.py @@ -1,7 +1,28 @@ #!/usr/bin/python +# +# File: main.py +# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# +# Copyright (C) 2006 Necoro d.M. +# This is free software. You may redistribute copies of it under the terms of +# the GNU General Public License version 2. +# There is NO WARRANTY, to the extent permitted by law. +# +# Written by Necoro d.M. + from geneticone.gui import MainWindow +import sys if __name__ == "__main__": - m = MainWindow() - m.main() + if len(sys.argv) > 1 and sys.argv[1] in ("--help","--version","-h","-v"): + print """Genetic/One SVN-Version +Copyright (C) 2006 Necoro d.M. +This is free software. You may redistribute copies of it under the terms of +the GNU General Public License . +There is NO WARRANTY, to the extent permitted by law. + +Written by Necoro d.M. """ + else: + m = MainWindow() + m.main() -- cgit v1.2.3-70-g09d2