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

Tarek Ziadé ziade.tarek at gmail.com
Tue Apr 27 00:09:30 CEST 2010


On Mon, Apr 26, 2010 at 11:46 PM, Barry Warsaw <barry at 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..
>
> Until then, isn't pkg_resources the best practice for this?  (I'm pretty sure
> we've talked about this before.)

For setuptools-based project I guess it is yes, so you can read them
in zipped eggs.

>
> -Barry
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com
>
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Python-Dev mailing list