diff options
Diffstat (limited to 'bin/pyreverse.bat')
-rw-r--r-- | bin/pyreverse.bat | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/bin/pyreverse.bat b/bin/pyreverse.bat index f131302..81d4e18 100644 --- a/bin/pyreverse.bat +++ b/bin/pyreverse.bat @@ -1,18 +1,5 @@ @echo off -rem = """-*-Python-*- script -@echo off -rem -------------------- DOS section -------------------- -rem You could set PYTHONPATH or TK environment variables here -python -x "%~f0" %* -goto exit - -""" -# -------------------- Python section -------------------- -import sys -from pylint.pyreverse import main -main.Run(sys.argv[1:]) - - -DosExitLabel = """ -:exit -rem """ +rem Use python to execute the python script having the same name as this batch +rem file, but without any extension, located in the same directory as this +rem batch file +python "%~dpn0" %* |