author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Wed, 16 Sep 2009 18:14:43 +0200 | |
branch | 3.5 |
changeset 3269 | 02a918f108a7 |
parent 3116 | 8bf500eb01d6 |
child 4096 | 871ff503c23e |
permissions | -rw-r--r-- |
3116 | 1 |
@echo off |
2 |
rem = """-*-Python-*- script |
|
3 |
rem -------------------- DOS section -------------------- |
|
4 |
rem You could set PYTHONPATH or TK environment variables here |
|
5 |
python -x "%~f0" %* |
|
6 |
goto exit |
|
7 |
||
8 |
""" |
|
9 |
# -------------------- Python section -------------------- |
|
10 |
from cubicweb.cwctl import run |
|
11 |
import sys |
|
12 |
run(sys.argv[1:]) |
|
13 |
||
14 |
DosExitLabel = """ |
|
15 |
:exit |
|
16 |
rem """ |
|
17 |
||
18 |