Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-27 Thread Tarek Ziadé
On Tue, Apr 27, 2010 at 1:24 AM, Toshio Kuratomi a.bad...@gmail.com wrote: On Mon, Apr 26, 2010 at 05:46:55PM -0400, Barry Warsaw wrote: On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one. Until we know how to describe resource files properly, __file__ is

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-27 Thread Tarek Ziadé
On Tue, Apr 27, 2010 at 2:43 AM, David Cournapeau courn...@gmail.com wrote: On Tue, Apr 27, 2010 at 5:10 AM, Piotr Ożarowski pi...@debian.org wrote: if there's no other way (--install-data is ignored right now, and I know you're doing a great work to change that, thanks BTW), one could always

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-27 Thread Toshio Kuratomi
On Tue, Apr 27, 2010 at 09:41:02AM +0200, Tarek Ziadé wrote: On Tue, Apr 27, 2010 at 1:24 AM, Toshio Kuratomi a.bad...@gmail.com wrote: On Mon, Apr 26, 2010 at 05:46:55PM -0400, Barry Warsaw wrote: On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one.

[Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Piotr Ożarowski
Hi, Many Python module developers do not want their work to be distributed by Debian (and probably by other Linux distributions), here's a list of hints that will help you accomplish that goal: * depend on unstable or unreleased software (even if you use it only to generate docs or do unit

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 9:19 PM, Piotr Ożarowski pi...@debian.org wrote: Hi, Many Python module developers do not want their work to be distributed by Debian (and probably by other Linux distributions), here's a list of hints that will help you accomplish that goal: Great hints, I'll try to

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Piotr Ożarowski
[Tarek Ziadé, 2010-04-26] Great hints, I'll try to follow them... and they could make a good section in the Hitchhiker's guide to packaging ;) How about these two: http://us.pycon.org/media/2010/talkdata/PyCon2010/038/paper.html http://wiki.debian.org/GettingPackaged [...] * ignore FHS

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 10:10 PM, Piotr Ożarowski pi...@debian.org wrote: [Tarek Ziadé, 2010-04-26] Great hints, I'll try to follow them... and they could make a good section in the Hitchhiker's guide to packaging ;) How about these two:

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Barry Warsaw
On Apr 26, 2010, at 09:19 PM, Piotr Ożarowski wrote: Many Python module developers do not want their work to be distributed by Debian (and probably by other Linux distributions), here's a list of hints that will help you accomplish that goal: Okay, it took me a few bullet items to realize you

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Barry Warsaw
On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one. Until we know how to describe resource files properly, __file__ is what developer use when they need their projects to be portable.. Until then, isn't pkg_resources the best practice for this? (I'm pretty

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Robert Kern
On 4/26/10 4:46 PM, Barry Warsaw wrote: On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one. Until we know how to describe resource files properly, __file__ is what developer use when they need their projects to be portable.. Until then, isn't pkg_resources

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:45 PM, Barry Warsaw ba...@python.org wrote: [..] For example, there's a nice tool called 'Quickly' that builds application templates using best practices.  It is opinionated, but designed for the opportunistic programmer.  I've been thinking about writing a Python

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:46 PM, Barry Warsaw ba...@python.org wrote: On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one. Until we know how to describe resource files properly, __file__ is what developer use when they need their projects to be portable..

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Barry Warsaw
On Apr 27, 2010, at 12:03 AM, Tarek Ziadé wrote: On Mon, Apr 26, 2010 at 11:45 PM, Barry Warsaw ba...@python.org wrote: [..] For example, there's a nice tool called 'Quickly' that builds application templates using best practices.  It is opinionated, but designed for the opportunistic

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Barry Warsaw
On Apr 26, 2010, at 04:56 PM, Robert Kern wrote: On 4/26/10 4:46 PM, Barry Warsaw wrote: On Apr 26, 2010, at 09:39 PM, Tarek Ziadé wrote: You should be permissive on that one. Until we know how to describe resource files properly, __file__ is what developer use when they need their projects

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Tarek Ziadé
On Mon, Apr 26, 2010 at 11:56 PM, Robert Kern robert.k...@gmail.com wrote: [..] I don't think the OP is really speaking against using __file__ per se, but rather putting data into the package however it is accessed. The Linux-packager preferred practice is to install into the appropriate

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread James Mills
On Tue, Apr 27, 2010 at 9:15 AM, David Malcolm dmalc...@redhat.com wrote: On Mon, 2010-04-26 at 21:19 +0200, Piotr Ożarowski wrote: Many Python module developers do not want their work to be distributed by Debian (and probably by other Linux distributions), here's a list of Thanks!   Not just

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread Michael Foord
On 27/04/2010 00:26, James Mills wrote: On Tue, Apr 27, 2010 at 9:15 AM, David Malcolmdmalc...@redhat.com wrote: On Mon, 2010-04-26 at 21:19 +0200, Piotr Ożarowski wrote: Many Python module developers do not want their work to be distributed by Debian (and probably by other Linux

Re: [Python-Dev] what to do if you don't want your module in Debian

2010-04-26 Thread David Cournapeau
On Tue, Apr 27, 2010 at 5:10 AM, Piotr Ożarowski pi...@debian.org wrote: if there's no other way (--install-data is ignored right now, and I know you're doing a great work to change that, thanks BTW), one could always use it in *one* place and later import the result in other parts of the