diff options
author | necoro <> | 2006-09-19 21:19:27 +0000 |
---|---|---|
committer | necoro <> | 2006-09-19 21:19:27 +0000 |
commit | 5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12 (patch) | |
tree | 829dc4678711869c08215465149e55898abb382f /main.py | |
parent | 96bb19e776bf1c4663752ba9d8194000cd2e777e (diff) | |
download | portato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.tar.gz portato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.tar.bz2 portato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.zip |
Added licence informations.
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -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. <necoro@necoro.net> + 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 <http://www.gnu.org/licenses/gpl.html>. +There is NO WARRANTY, to the extent permitted by law. + +Written by Necoro d.M. <necoro@necoro.net>""" + else: + m = MainWindow() + m.main() |