A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-April/099750.html below:

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

[Python-Dev] what to do if you don't want your module in Debian [Python-Dev] what to do if you don't want your module in DebianRobert Kern robert.kern at gmail.com
Mon Apr 26 23:56:06 CEST 2010
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 the best practice for this?  (I'm pretty sure
> we've talked about this before.)

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 /usr/shared/ subdirectory. 
Writing portable libraries (with portable setup.py files!) is difficult to do 
that way, though.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4