two convenience files 3.5
authorAurélien Campéas
Mon, 07 Sep 2009 12:23:42 +0200
branch3.5
changeset 3116 8bf500eb01d6
parent 3115 29262ba01464
child 3117 32686ae66c75
two convenience files * .hgignore with good default values * cubicweb-ctl.bat to launch things under win32
.hgignore
bin/cubicweb-ctl.bat
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Mon Sep 07 12:23:42 2009 +0200
@@ -0,0 +1,10 @@
+\.svn
+^build$
+^dist$
+\.pyc$
+\.pyo$
+\.bak$
+\.old$
+\~$
+\#.*?\#$
+\.swp$
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/cubicweb-ctl.bat	Mon Sep 07 12:23:42 2009 +0200
@@ -0,0 +1,18 @@
+@echo off
+rem = """-*-Python-*- script
+rem -------------------- DOS section --------------------
+rem You could set PYTHONPATH or TK environment variables here
+python -x "%~f0" %*
+goto exit
+ 
+"""
+# -------------------- Python section --------------------
+from cubicweb.cwctl import run
+import sys
+run(sys.argv[1:])
+
+DosExitLabel = """
+:exit
+rem """
+
+