Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Andreas Tille
Hi, On Thu, Sep 11, 2014 at 10:30:42AM +0200, Piotr Ożarowski wrote: > [Andreas Tille, 2014-09-11] > > pkg_resources.DistributionNotFound: pil>=1.1.7 > > python{,3}-pil provides Pillow egg-info > Matthias: should python-imaging provide pil.egg.info file (for older > libraries/applications like di

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Piotr Ożarowski
[Matthias Klose, 2014-09-11] > I don't mind for python-imaging, but we shouldn't add that for python3, not > having packages for that in older releases. there's no python3-imaging, so that will not happen :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Matthias Klose
Am 11.09.2014 um 10:30 schrieb Piotr Ożarowski: > [Andreas Tille, 2014-09-11] >> pkg_resources.DistributionNotFound: pil>=1.1.7 > > python{,3}-pil provides Pillow egg-info > Matthias: should python-imaging provide pil.egg.info file (for older > libraries/applications like dicompyler? I don't mind

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Piotr Ożarowski
[Andreas Tille, 2014-09-11] > pkg_resources.DistributionNotFound: pil>=1.1.7 python{,3}-pil provides Pillow egg-info Matthias: should python-imaging provide pil.egg.info file (for older libraries/applications like dicompyler? -- Piotr Ożarowski Debian GNU/Linux Developer w

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Piotr Ożarowski
[Andreas Tille, 2014-09-11] > > export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/dicompyler/ > > export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/bin/dicompyler > > {destdir}/usr/share/dicompyler/run > > Any chance to find this magic spell somewhere documented? I admit I > feel a bit helpless

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-11 Thread Andreas Tille
Hi Piotr, On Wed, Sep 10, 2014 at 07:09:37PM +0200, Piotr Ożarowski wrote: > [Andreas Tille, 2014-09-10] > > Copying dicompyler.egg-info to > > /tmp/buildd/dicompyler-0.4.2/debian/dicompyler/usr/share/dicompyler/dicompyler-0.4.2.egg-info > > running install_scripts > > Installing dicompyler scrip

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Piotr Ożarowski
[Andreas Tille, 2014-09-10] > Copying dicompyler.egg-info to > /tmp/buildd/dicompyler-0.4.2/debian/dicompyler/usr/share/dicompyler/dicompyler-0.4.2.egg-info > running install_scripts > Installing dicompyler script to > /tmp/buildd/dicompyler-0.4.2/debian/dicompyler/usr/share/dicompyler > error: [

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Andreas Tille
Hi Piotr, On Wed, Sep 10, 2014 at 04:03:40PM +0200, Piotr Ożarowski wrote: > > if you install your script to the same directory as the application¹ then > all you need is `dh_link /usr/bin/foo /usr/share/pkgname/foo` in > debian/rules or adequate line in debian/pkgname.links file. > No need to wr

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Piotr Ożarowski
[Piotr Ożarowski, 2014-09-10] > all you need is `dh_link /usr/bin/foo /usr/share/pkgname/foo` in or even `dh_link /usr/share/pkgname/foo /usr/bin/foo` :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fi