[Greater-commits] r3763 - in branches: 3.0.0-all-models/GREAT-ER 3.0.0-usf/GREAT-ER
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Aug 2 13:39:54 CEST 2011
Author: bricks
Date: 2011-08-02 13:39:54 +0200 (Tue, 02 Aug 2011)
New Revision: 3763
Added:
branches/3.0.0-all-models/GREAT-ER/GREAT-ER.pyw
branches/3.0.0-usf/GREAT-ER/GREAT-ER.pyw
Removed:
branches/3.0.0-all-models/GREAT-ER/GREAT-ER.py
branches/3.0.0-usf/GREAT-ER/GREAT-ER.py
Log:
Use pyw files to hide terminal window on windows
Deleted: branches/3.0.0-all-models/GREAT-ER/GREAT-ER.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/GREAT-ER.py 2011-08-02 07:55:57 UTC (rev 3762)
+++ branches/3.0.0-all-models/GREAT-ER/GREAT-ER.py 2011-08-02 11:39:54 UTC (rev 3763)
@@ -1,26 +0,0 @@
-#! /usr/bin/python
-
-# Copyright (c) 2002, 2003 by Intevation GmbH
-# Authors:
-# Jan-Oliver Wagner <jan at intevation.de>
-#
-# This program is free software under the GPL (>=v2)
-# Read the file COPYING coming with Thuban for details.
-
-# Add directories with greater specific code and some selected 3rd party
-# Python extensions to the path
-import sys, os
-_dir = os.path.join(sys.path[0], os.pardir)
-for reldir in ("Python", "GREAT-ER-DB", "GREAT-ERModel", "sciparam", "Lib",
- os.path.join("GREAT-ERModel", "Lib")):
- fullname = os.path.join(_dir, reldir)
- if os.path.isdir(fullname):
- sys.path.append(fullname)
-
-
-# Initialize python for thuban.
-import thubaninit
-
-# Start the GREAT-ER client.
-import Greater
-Greater.main()
Copied: branches/3.0.0-all-models/GREAT-ER/GREAT-ER.pyw (from rev 3762, branches/3.0.0-all-models/GREAT-ER/GREAT-ER.py)
Deleted: branches/3.0.0-usf/GREAT-ER/GREAT-ER.py
===================================================================
--- branches/3.0.0-usf/GREAT-ER/GREAT-ER.py 2011-08-02 07:55:57 UTC (rev 3762)
+++ branches/3.0.0-usf/GREAT-ER/GREAT-ER.py 2011-08-02 11:39:54 UTC (rev 3763)
@@ -1,26 +0,0 @@
-#! /usr/bin/python
-
-# Copyright (c) 2002, 2003 by Intevation GmbH
-# Authors:
-# Jan-Oliver Wagner <jan at intevation.de>
-#
-# This program is free software under the GPL (>=v2)
-# Read the file COPYING coming with Thuban for details.
-
-# Add directories with greater specific code and some selected 3rd party
-# Python extensions to the path
-import sys, os
-_dir = os.path.join(sys.path[0], os.pardir)
-for reldir in ("Python", "GREAT-ER-DB", "GREAT-ERModel", "sciparam", "Lib",
- os.path.join("GREAT-ERModel", "Lib"), "thuban", "sciparam"):
- fullname = os.path.join(_dir, reldir)
- if os.path.isdir(fullname):
- sys.path.append(fullname)
-
-
-# Initialize python for thuban.
-import thubaninit
-
-# Start the GREAT-ER client.
-import Greater
-Greater.main()
Copied: branches/3.0.0-usf/GREAT-ER/GREAT-ER.pyw (from rev 3762, branches/3.0.0-usf/GREAT-ER/GREAT-ER.py)
More information about the Greater-commits
mailing list