pylint #103949 create a console_scripts entry point to be used by easy_install, buildout and pip [validation pending]
the scripts kwargs for setup.py:setup() doesn't create an executable script when using distribute to install pylint. | |
priority | normal |
---|---|
type | bug |
done in | 0.26.0 |
load left | 0.000 |
closed by | #241f04d77e0b create a console_scripts entry point to be used by easy_install, buildout and pip. Closes #103949 |
Comments
-
2012/08/23 17:55, written by guyr
-
2012/10/08 15:04, written by guyr
add commentIt should be something like this:
in lint.py:
def console_script():
import sys
return Run([sys.argv[1:])
in setup.py, add to setup call:
entry_points = dict(console_scripts = ["pylint = pylint.lint:console_script"]),
couldn't find how to verify the ticket, so i'll just comment -- ticket is verified.
thanks!