Re: dh_python2: pyinstall files

2010-11-22 Thread Piotr Ożarowski
[Jakub Wilk, 2010-11-23] > * Piotr Ożarowski , 2010-11-23, 00:13: >> dh_python2 doesn't create __init__.py files, that's python-support (and >> to be honest, I don't like this feature, see bug I reported to see why) > > Which one? #459468 [...] > Why can't dh_python2 add some magic code to create

Re: dh_python2: pyinstall files

2010-11-22 Thread Jakub Wilk
* Piotr Ożarowski , 2010-11-23, 00:13: dh_python2 doesn't create __init__.py files, that's python-support (and to be honest, I don't like this feature, see bug I reported to see why) Which one? $ wget -q -O- http://bugs.debian.org/src:python-support | grep -c Piotr 0 You should create separa

Re: dh_python2: pyinstall files

2010-11-22 Thread Piotr Ożarowski
[Barry Warsaw, 2010-11-22] > Is this because flaskext/ isn't actually a (Python) package that exists in the > python-flask source? Yes, Flask's extensions are shipped under flaskext namespace. To avoid Conflicts between python-flaskext.* packages, I will provide this namespace in python-flask pack

Re: dh_python2: pyinstall files

2010-11-22 Thread Jakub Wilk
* Barry Warsaw , 2010-11-22, 16:37: AFAICT, dh_python2 handles namespace packages for you. AFAICT it doesn't (by design). Which is yet another reason to stick with python-support. I think it does though... % apt-file list python-flufl.enum | grep __init__ python-flufl.enum: /usr/lib/python2.

Re: dh_python2: pyinstall files

2010-11-22 Thread Barry Warsaw
On Nov 22, 2010, at 09:05 PM, Jakub Wilk wrote: >* Barry Warsaw , 2010-11-22, 14:51: >>AFAICT, dh_python2 handles namespace packages for you. > >AFAICT it doesn't (by design). Which is yet another reason to stick with >python-support. I think it does though... % apt-file list python-flufl.enum |

Re: dh_python2: pyinstall files

2010-11-22 Thread Jakub Wilk
* Barry Warsaw , 2010-11-22, 14:51: AFAICT, dh_python2 handles namespace packages for you. AFAICT it doesn't (by design). Which is yet another reason to stick with python-support. -- Jakub Wilk signature.asc Description: Digital signature

Re: dh_python2: pyinstall files

2010-11-22 Thread Barry Warsaw
On Nov 22, 2010, at 10:54 AM, Piotr Ożarowski wrote: >I wanted to add flaskext/__init__.py file to python-flask binary package >yesterday and I realized it will require to add too many lines to my >tiny debian/rules file so... I implemented pyinstall feature in >dh_python2 instead (see debpython/t

Re: dh_python2: pyinstall files

2010-11-22 Thread Piotr Ożarowski
[Jakub Wilk, 2010-11-22] > * Piotr Ożarowski , 2010-11-22, 10:54: >> [...] (pyinstall doesn't make sense in dh_python3 as you can >> simply use dh_install to install into /usr/lib/python3/dist-packages/)? > > And what if you'd need install different set of files for 3.X and 3.Y? (I > think I kno

Re: dh_python2: pyinstall files

2010-11-22 Thread Jakub Wilk
* Piotr Ożarowski , 2010-11-22, 10:54: I wanted to add flaskext/__init__.py file to python-flask binary package yesterday and I realized it will require to add too many lines to my tiny debian/rules file so... I implemented pyinstall feature in dh_python2 instead (see debpython/tools.py file¹).