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/2004-June/045744.html below:

[Python-Dev] Including translated doc strings in 2.4

[Python-Dev] Including translated doc strings in 2.4 [Python-Dev] Including translated doc strings in 2.4"Martin v. Löwis" martin at v.loewis.de
Tue Jun 29 16:07:28 EDT 2004
Barry Warsaw wrote:
> Martin, would you make Lib/messages or Lib/doc an importable package
> directory?  I guess that's the point of sticking it in Lib, so that it's
> easier to find via Python's import mechanism, right?

Actually, no. I'd like to stick it into Lib/somewhere, so it is easy to
locate through

os.path.join(os.path.dirname(gettext.__file__), 'messages')

Even more importantly, putting it into Lib means it is simpler to have
it installed.

If you think it helps, finding it through

import messages
messages.docstrings('de')

might be an option; messages/__init__.py would then have the proper
magic.

Regards,
Martin


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