26 # Start-of-Header |
26 # Start-of-Header |
27 name = "PyLint Plugin" |
27 name = "PyLint Plugin" |
28 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
28 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
29 autoactivate = True |
29 autoactivate = True |
30 deactivateable = True |
30 deactivateable = True |
31 version = "5.0.2" |
31 version = "5.1.0" |
32 className = "PyLintPlugin" |
32 className = "PyLintPlugin" |
33 packageName = "PyLint" |
33 packageName = "PyLint" |
34 shortDescription = "Show the PyLint dialogs." |
34 shortDescription = "Show the PyLint dialogs." |
35 longDescription = """This plug-in implements the PyLint dialogs.""" \ |
35 longDescription = """This plug-in implements the PyLint dialogs.""" \ |
36 """ PyLint is used to check Python source files according to various rules.""" |
36 """ PyLint is used to check Python source files according to various rules.""" |
79 # |
79 # |
80 exe = 'pylint.bat' |
80 exe = 'pylint.bat' |
81 if Utilities.isinpath(exe): |
81 if Utilities.isinpath(exe): |
82 return exe |
82 return exe |
83 try: |
83 try: |
84 #only since python 3.2 |
84 # only since python 3.2 |
85 import sysconfig |
85 import sysconfig |
86 scripts = sysconfig.get_path('scripts', 'nt') |
86 scripts = sysconfig.get_path('scripts', 'nt') |
87 return os.path.join(scripts, exe) |
87 return os.path.join(scripts, exe) |
88 except ImportError: |
88 except ImportError: |
89 try: |
89 try: |