Re: shebang lines for Python scripts

2011-03-04 Thread Scott Kitterman
On Friday, March 04, 2011 08:06:55 pm Jakub Wilk wrote: > * Piotr Ożarowski , 2011-03-05, 01:39: > >>>dh_python2 and dh_python3 cannot be used for the same files at the > >>>same time (that's why dh_python2 igores python3-* packages, that's > >>>why dh_python3 ignores python-* packages and that's w

Re: shebang lines for Python scripts

2011-03-04 Thread Jakub Wilk
* Piotr Ożarowski , 2011-03-05, 01:39: dh_python2 and dh_python3 cannot be used for the same files at the same time (that's why dh_python2 igores python3-* packages, that's why dh_python3 ignores python-* packages and that's why you have to use -N/-p in all other packages if you want to invoke

Re: shebang lines for Python scripts

2011-03-04 Thread Piotr Ożarowski
[Jakub Wilk, 2011-03-05] > * Piotr Ożarowski , 2011-03-05, 01:20: >> dh_python2 and dh_python3 cannot be used for the same files at the same >> time (that's why dh_python2 igores python3-* packages, that's why >> dh_python3 ignores python-* packages and that's why you have to use >> -N/-p in all ot

Re: shebang lines for Python scripts

2011-03-04 Thread Jakub Wilk
* Piotr Ożarowski , 2011-03-05, 01:20: any objections to change all shebangs (that do not match /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in dh_python3? dh_python2 would change "/usr/bin/env python3" to "/usr/bin/python"; d

Re: shebang lines for Python scripts

2011-03-04 Thread Piotr Ożarowski
[Jakub Wilk, 2011-03-05] > * Piotr Ożarowski , 2011-03-04, 23:23: >> any objections to change all shebangs (that do not match >> /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to >> /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in >> dh_python3? > > dh_python2 would change "/usr/b

Re: shebang lines for Python scripts

2011-03-04 Thread Jakub Wilk
* Piotr Ożarowski , 2011-03-04, 23:23: any objections to change all shebangs (that do not match /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in dh_python3? dh_python2 would change "/usr/bin/env python3" to "/usr/bin/python"; d

Re: shebang lines for Python scripts

2011-03-04 Thread Scott Kitterman
"Piotr Ożarowski" wrote: any objections to change all shebangs (that do not match /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in dh_python3? (+ an option to disable this behaviour in both helpers) if yes, should options (-OO

Re: shebang lines for Python scripts

2011-03-04 Thread Stefano Rivera
Hi Piotr (2011.03.05_00:23:46_+0200) > any objections to change all shebangs (that do not match > /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to > /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in > dh_python3? Grumble. I quite like being able to use light (not --no-site-packag

Re: shebang lines for Python scripts

2011-03-04 Thread Piotr Ożarowski
any objections to change all shebangs (that do not match /usr/bin/python\d(\.\d+) but do math .+python.* regexp) to /usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in dh_python3? (+ an option to disable this behaviour in both helpers) if yes, should options (-OO, etc.) be removed as well?

Re: shebang lines for Python scripts

2011-03-04 Thread Barry Warsaw
On Mar 04, 2011, at 02:15 PM, Scott Kitterman wrote: >Currently Python policy says: > >1.4.2. Interpreter Location >--- > > The preferred specification for the Python interpreter is > `/usr/bin/python' or `/usr/bin/python.'. This ensures that a > Debian install

Re: shebang lines for Python scripts

2011-03-04 Thread Scott Kitterman
On Friday, March 04, 2011 01:23:40 pm Barry Warsaw wrote: > So I know many of you are on python-dev, so you might have seen this come > up, but traffic there can be pretty heavy at times. > > Upstream Python recommends that the shebang line for scripts should be > > #!/usr/bin/env python > > how

Re: About Python 2.7

2011-03-04 Thread Sandro Tosi
On Fri, Mar 4, 2011 at 14:35, Scott Kitterman wrote: > On Friday, March 04, 2011 08:30:02 am ProgVal wrote: >> Hello, >> >> Python 2.7 is available in the Experimental repository, and I use it as the >> default Python interpreter. >> All modules and software I use works Python 2.7, but, modules an

shebang lines for Python scripts

2011-03-04 Thread Barry Warsaw
So I know many of you are on python-dev, so you might have seen this come up, but traffic there can be pretty heavy at times. Upstream Python recommends that the shebang line for scripts should be #!/usr/bin/env python however, this should only apply to *developer* packages, not operating system

Re: request to join a team

2011-03-04 Thread Tiago Saboga
On Fri, Mar 4, 2011 at 10:50 AM, Piotr Ożarowski wrote: > [Tiago Saboga, 2011-03-04] >> I'd like start helping the debian python community too. I wonder if >> there is a list of help-needing packages, or recommendations for >> beginners to help with debian python. I don't want to package new >> mo

Re: request to join a team

2011-03-04 Thread Piotr Ożarowski
[Tiago Saboga, 2011-03-04] > I'd like start helping the debian python community too. I wonder if > there is a list of help-needing packages, or recommendations for > beginners to help with debian python. I don't want to package new > modules, as I see we already have some trouble with the existing

Re: About Python 2.7

2011-03-04 Thread Scott Kitterman
On Friday, March 04, 2011 08:30:02 am ProgVal wrote: > Hello, > > Python 2.7 is available in the Experimental repository, and I use it as the > default Python interpreter. > All modules and software I use works Python 2.7, but, modules and libraries > installed with aptitude are installed for Pyth

About Python 2.7

2011-03-04 Thread ProgVal
Hello, Python 2.7 is available in the Experimental repository, and I use it as the default Python interpreter. All modules and software I use works Python 2.7, but, modules and libraries installed with aptitude are installed for Python 2.6, and I have to update the PYTHONPATH variable to use them.

Re: request to join a team

2011-03-04 Thread Tiago Saboga
Hi! I'd like start helping the debian python community too. I wonder if there is a list of help-needing packages, or recommendations for beginners to help with debian python. I don't want to package new modules, as I see we already have some trouble with the existing ones. I don't mind triaging bu

Re: request to join a team

2011-03-04 Thread Piotr Ożarowski
[Tony Peña, 2011-03-01] > hi, i wanna into the python modules team if is possible to help to Debian > Project, and python comminity , could you start with sending me (or -team) patches (`svn diff > fix_foo.patch`) first? I will then reply with a lot of questions/complains, so don't be scared ;) -