bin/cubicweb-ctl.bat
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Mon, 03 May 2010 14:17:45 +0200
changeset 5454 76b828dc3b9f
parent 4096 871ff503c23e
child 5499 2a5cc708c2a0
permissions -rw-r--r--
[json-controller] - refactoring of js_component and js_view, it now uses _call_view - _call_view accepts paginate as a parameter

@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 --------------------
import sys
from os.path import join, dirname
sys.path.insert(0, join(dirname(__file__), '..', '..'))
from cubicweb.cwctl import run
run(sys.argv[1:])

DosExitLabel = """
:exit
rem """