Re: Re: RFP -> ITP: mistune -- markdown parser in pure python
Hi, Le 03/05/2015 11:20, Julien Puydt a écrit : Le 02/05/2015 20:30, Julien Puydt a écrit : I'm willing to work on packaging it. I'm not part of the debian python modules team yet, but I'm willing to. My login is jpuydt-guest and my name is Julien Puydt, by the way... Can I join that team? Or should I just make a tarball of the debian/ directory I have and let someone else take care of everything? Snark on #debian-python and #debian-science -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/554f27da.9030...@laposte.net
image-file-in-usr-lib
Hi, some of the package I maintain (namely python-astropy), or want to package, contain images within their python source directories. When installed using the normal setup, these images get installed in /usr/lib, leading to the lintian warning shown in the subject. Is there a simple way to avoid this? Best regards Ole -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87zj5ca9t9@news.ole.ath.cx
Re: image-file-in-usr-lib
Ole Streicher writes: > some of the package I maintain (namely python-astropy), or want to > package, contain images within their python source directories. When > installed using the normal setup, these images get installed in > /usr/lib, leading to the lintian warning shown in the subject. > > Is there a simple way to avoid this? The code is probably expecting the files to be in that location. It will need to be patched to expect the files in a more appropriate location. Installing the non-program files to ‘/usr/share/foopackage/images/’ (for example) is simple enough, using ‘dh_install’. -- \ “Alternative explanations are always welcome in science, if | `\ they are better and explain more. Alternative explanations that | _o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 | Ben Finney -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/858ucwatig@benfinney.id.au
Re: image-file-in-usr-lib
That or symlink them in from /usr/share ;) On May 10, 2015 7:43 PM, "Ben Finney" wrote: > Ole Streicher writes: > > > some of the package I maintain (namely python-astropy), or want to > > package, contain images within their python source directories. When > > installed using the normal setup, these images get installed in > > /usr/lib, leading to the lintian warning shown in the subject. > > > > Is there a simple way to avoid this? > > The code is probably expecting the files to be in that location. It will > need to be patched to expect the files in a more appropriate location. > > Installing the non-program files to ‘/usr/share/foopackage/images/’ (for > example) is simple enough, using ‘dh_install’. > > -- > \ “Alternative explanations are always welcome in science, if | > `\ they are better and explain more. Alternative explanations that | > _o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 | > Ben Finney > > > -- > To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: https://lists.debian.org/858ucwatig@benfinney.id.au > >
Re: image-file-in-usr-lib
"Paul R. Tagliamonte" writes: > That or symlink them in from /usr/share ;) Yes, that works too (and I've done it in my packages): Use ‘dh_install’ to install the non-program files to the correct location under ‘/usr/share/foopackage/’, and then create symlinks in the program directories where the program is looking. The non-program files are in the right location, the program can continue to be ignorant of the filesystem layout, and you didn't have to patch any code. -- \ “I turned to speak to God/About the world's despair; But to | `\ make bad matters worse/I found God wasn't there.” —Robert Frost | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/854mnjc1cb@benfinney.id.au
Re: image-file-in-usr-lib
On 05/11/2015 04:08 AM, Ben Finney wrote: > "Paul R. Tagliamonte" writes: > >> That or symlink them in from /usr/share ;) > > Yes, that works too (and I've done it in my packages): > > Use ‘dh_install’ to install the non-program files to the correct > location under ‘/usr/share/foopackage/’, and then create symlinks in the > program directories where the program is looking. > > The non-program files are in the right location, the program can > continue to be ignorant of the filesystem layout, and you didn't have to > patch any code. there are some discussions on the distutils SIG where to move certain types of files. It would be nice if somebody with a distro point of view could look at these discussions and engage. Matthias -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55500fde.1090...@debian.org
Filesystem layout choices in Distutils (was: image-file-in-usr-lib)
Matthias Klose writes: > there are some discussions on the distutils SIG where to move certain > types of files. Can you please show a URL to a specific discussion you think would benefit from a Debian contribution? -- \ “Men never do evil so completely and cheerfully as when they do | `\it from religious conviction.” —Blaise Pascal (1623–1662), | _o__) Pensées, #894. | Ben Finney -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/85wq0falx5.fsf...@benfinney.id.au