summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/pyreverse.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/pyreverse.bat b/bin/pyreverse.bat
new file mode 100644
index 0000000..1ef9b84
--- /dev/null
+++ b/bin/pyreverse.bat
@@ -0,0 +1,18 @@
+@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 """