root/trunk/peppy.bat

Revision 1687, 0.7 kB (checked in by rob, 6 weeks ago)

Fixed #449: peppy batch file can now properly handle spaces in install path

Line 
1@echo off
2rem = """-*-Python-*- script
3rem Windows batch script based on pylint's batch scripts
4rem Don't know how this works, but it does.
5rem
6rem -------------------- DOS section --------------------
7rem You could set PYTHONPATH or TK environment variables here
8python -x "%~f0" %*
9goto exit
10
11"""
12# -------------------- Python section --------------------
13import os,sys
14
15# Set default translation as a no-op for the moment (the actual translation is
16# performed on-demand during the GUI creation, not at application start time).
17import __builtin__
18__builtin__._ = unicode
19
20import peppy.main
21
22peppy.main.main()
23
24DosExitLabel = """
25:exit
26rem """
27
28
Note: See TracBrowser for help on using the browser.