Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Raw File
Tip revision: 31e8c9c10bb8bf39a02f0f7816b7d980a09f472a authored by Graziella Toutoungis on 27 March 2009, 09:54:40 UTC
add comment
Tip revision: 31e8c9c
hgview.bat
@echo off
rem = """-*-Python-*- script
rem -------------------- DOS section --------------------
rem You could set PYTHONPATH or GTK environment variables here
python -x %~f0 %*
goto exit
 
"""
# -------------------- Python section --------------------
try:
    from hgview.gtk import hgview_gtk as hgview
except ImportError:    
    from PyQt4 import QtCore, QtGui
    from hgview.qt4 import hgview_qt4 as hgview
hgview.main()

DosExitLabel = """
:exit
rem """
back to top