> There is an unused-variable message in the variables checker
> (pylint/checkers/variables.py).
> This is probably worth reading indeed, though in this particular case in
> should rather
> go in the classes checker (pylint/checkers/classes.py).
Thanks for the pointer. I think I have a notion of how to go about
this, however, I lacked up-to-date source.
I cloned logilab-common, pylint and astroid. Installed in ~/.local,
then tried pylint with PYTHONPATH set, but no command line args. No
luck:
% PYTHONPATH=/home/skipm/.local/lib/python2.7/site-packages pylint
Traceback (most recent call last):
File "/home/skipm/.local/bin/pylint", line 6, in <module>
from pkg_resources import load_entry_point
File "/home/skipm/.local/lib/python2.7/site-packages/pkg_resources.py",
line 2805, in <module>
working_set.require(__requires__)
File "/home/skipm/.local/lib/python2.7/site-packages/pkg_resources.py",
line 696, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/skipm/.local/lib/python2.7/site-packages/pkg_resources.py",
line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: logilab-astroid>=0.24.3
udesktop267% PYTHONPATH=/home/skipm/.local/lib/python2.7/site-packages
python Python 2.7.2 (default, Oct 17 2012, 03:11:33)
[GCC 4.4.6 [TWW]] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import astroid
>>> astroid.__file__
'/home/skipm/.local/lib/python2.7/site-packages/astroid-0.24.3-py2.7.egg/astroid/__init__.pyc'
>>>
I know this isn't a distutils mailing list and that you all are
sprinting, so you're busy thinking about other stuff, however... Any
idea how I can get past this basic hurdle so I can actually do some
work with pylint? (Is there some non-pkg_resources way to install
these things?)
Thx,
Skip
_______________________________________________
code-quality mailing list
[email protected]
http://mail.python.org/mailman/listinfo/code-quality