* Barry Warsaw <ba...@python.org>, 2012-09-28, 10:40:
we need to get tools like pyflakes ported to Python 3.

pyflakes >= 0.6 supports Python 3. There's no Debian package built for Python 3 yet, but that's something that can be kluged up:

1) Install pyflakes_0.6.1-1~exp1 from experimental.
2) Put the attached script somewhere in your $PATH.
3) ...
4) PROFIT!^W^WGrumble that it doesn't work out of the box, and that you need to resort to hacks like this instead.

--
Jakub Wilk
#!/usr/bin/python3
import sys
# Close your eyes here.
sys.path += ['/usr/share/pyshared']
from pyflakes.scripts.pyflakes import main
del sys.path[-1]
# You can open your eyes now.
main(sys.argv[1:])

Reply via email to