Re: PyCon 2013 -- tentative title/abstract/outline -- feedback plz
- To: debian-python@lists.debian.org
- Subject: Re: PyCon 2013 -- tentative title/abstract/outline -- feedback plz
- From: Jakub Wilk <jwilk@debian.org>
- Date: Sun, 19 May 2013 00:58:51 +0200
- Message-id: <[🔎] 20130518225851.GA9990@jwilk.net>
- Mail-followup-to: debian-python@lists.debian.org
- In-reply-to: <20120928104027.4c6e62fd@limelight.wooz.org>
- References: <20120926154058.GA26676@onerussian.com> <201209272343.21737.paul@boddie.org.uk> <20120927222310.GJ5955@onerussian.com> <201209280101.18621.paul@boddie.org.uk> <20120928134740.GA4537@leliel.localdomain> <20120928104027.4c6e62fd@limelight.wooz.org>
* Barry Warsaw <barry@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 to: