[Skencil-commits] r708 - skencil/branches/skencil-0.6/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Sep 22 14:24:07 CEST 2010


Author: igor_n
Date: 2010-09-22 14:24:07 +0200 (Wed, 22 Sep 2010)
New Revision: 708

Added:
   skencil/branches/skencil-0.6/src/__init__.py
Log:
skencil package is introduced

Added: skencil/branches/skencil-0.6/src/__init__.py
===================================================================
--- skencil/branches/skencil-0.6/src/__init__.py	2010-09-22 12:22:55 UTC (rev 707)
+++ skencil/branches/skencil-0.6/src/__init__.py	2010-09-22 12:24:07 UTC (rev 708)
@@ -0,0 +1,16 @@
+#! /usr/bin/python
+# -*- coding: utf-8 -*-
+
+def skencil_run():
+    import sys, os, warnings
+        
+    warnings.filterwarnings("ignore")
+    
+    _pkgdir = __path__[0]
+    sys.path.insert(1, _pkgdir)
+    
+    import Sketch
+    
+    Sketch.config.sketch_command = sys.argv[0]
+    
+    Sketch.main.main()
\ No newline at end of file



More information about the Skencil-commits mailing list