# HG changeset patch # User Aurélien Campéas # Date 1252319022 -7200 # Node ID 8bf500eb01d6365a4973606f7595a625ba4289b8 # Parent 29262ba01464f6980222737a4fbf5a94ba5725e5 two convenience files * .hgignore with good default values * cubicweb-ctl.bat to launch things under win32 diff -r 29262ba01464 -r 8bf500eb01d6 .hgignore --- /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$ diff -r 29262ba01464 -r 8bf500eb01d6 bin/cubicweb-ctl.bat --- /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 """ + +