Staging
v0.5.0
https://foss.heptapod.net/mercurial/hgview
Raw File
Tip revision: fee1917d2dd60fcea8dcaf8be6de1844c10ee010 authored by Graziella Toutoungis on 02 March 2009, 07:37:31 UTC
Prepare packet debian: version 0.10.2
Tip revision: fee1917
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