~ubuntu-branches/debian/sid/pylint/sid

« back to all changes in this revision

Viewing changes to bin/pyreverse.bat

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-03-28 12:57:48 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100328125748-fblfc09naepbjhnx
Tags: 0.20.0-1
* New upstream release
  - thanks to Michael Richters for the report; Closes: #475939
* debian/copyright
  - updated upstream and packaging copyright years
* debian/control
  - bump Depends on python-logilab-common to '>= 0.49.0'
  - bump Depends on python-logilab-astng to '>= 0.20.0'
  - bump Standards-Version to 3.8.4 (no changes needed)
  - dropped XB-Python-Version
  - added python-logilab-common to b-d-i to have 'pytest' available
  - added python-logilab-astng to b-d-i, needed to run tests
* debian/rules
  - also delete *.pyo files (generated by tests running with -OO)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
@echo off
2
 
rem = """-*-Python-*- script
3
 
@echo off
4
 
rem -------------------- DOS section --------------------
5
 
rem You could set PYTHONPATH or TK environment variables here
6
 
python -x "%~f0" %*
7
 
goto exit
8
 
 
9
 
"""
10
 
# -------------------- Python section --------------------
11
 
import sys
12
 
from pylint.pyreverse import main
13
 
main.Run(sys.argv[1:])
14
 
 
15
 
 
16
 
DosExitLabel = """
17
 
:exit
18
 
rem """
 
2
rem Use python to execute the python script having the same name as this batch
 
3
rem file, but without any extension, located in the same directory as this
 
4
rem batch file
 
5
python "%~dpn0" %*