summaryrefslogtreecommitdiff
path: root/geneticone.py
diff options
context:
space:
mode:
authornecoro <>2006-09-20 17:11:48 +0000
committernecoro <>2006-09-20 17:11:48 +0000
commit0e86d7226b5d6d0adb5196d533debd7584d24d8a (patch)
treef72e26a7b84f8e540de891a88601f74c3e96f623 /geneticone.py
parent15ee41b99005deafe87dc4af4d777706d3f8fd56 (diff)
downloadportato-0e86d7226b5d6d0adb5196d533debd7584d24d8a.tar.gz
portato-0e86d7226b5d6d0adb5196d533debd7584d24d8a.tar.bz2
portato-0e86d7226b5d6d0adb5196d533debd7584d24d8a.zip
Renamed main.py to geneticone.py
Diffstat (limited to 'geneticone.py')
-rwxr-xr-xgeneticone.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/geneticone.py b/geneticone.py
new file mode 100755
index 0000000..528b45e
--- /dev/null
+++ b/geneticone.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+
+#
+# File: geneticone.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__":
+ 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()