Staging
v0.5.1
swh:1:snp:94aae2785f73ccaec5983b9f5ce071eed323eccf
Raw File
Tip revision: 7a27bc8b95ebe9ef7f993edf1078fd6f89c8ddae authored by David Douard on 30 May 2012, 10:10:16 UTC
close hg_1.1
Tip revision: 7a27bc8
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