Move msgfmt.py into po/ subdir

This commit is contained in:
Bastian Kleineidam 2010-03-07 11:56:25 +01:00
parent 1bf004dafe
commit 049d989c65
5 changed files with 9 additions and 6 deletions

View file

@ -36,7 +36,7 @@ include linkcheck/gui/rc/Makefile
include linkcheck/gui/rc/*.png
include linkcheck/gui/rc/*.qrc
include linkcheck/gui/ui/*.ui
include po/*.po po/*.pot po/Makefile
include po/*.po po/*.pot po/Makefile po/msgfmt.py
include doc/*.example
include doc/html/*.ico
include doc/html/*.html

4
debian/changelog vendored
View file

@ -1,6 +1,10 @@
linkchecker (5.2-1) unstable; urgency=low
* New upstream release.
* Does not install msgfmt.py anymore, since it has been moved out
of the linkcheck package.
(Closes: #555414)
* Standards version 3.8.4.
-- Bastian Kleineidam <calvin@debian.org> Mon, 15 Feb 2010 23:52:35 +0100

View file

@ -1,8 +1,7 @@
- [GUI] Add more context menu actions:
+ Show detailed URL properties
+ View source
- [GUI] Read (initial) configuration from linkcheckerrc file.
- [GUI] Save options in qsettings
- [GUI] Save options in qsettings, and read linkcheckerrc file.
- [PYTHON3]
linkchecker-git/linkcheck/dns/resolver.py:313: DeprecationWarning: in 3.x, __getslice__ has been removed; use __getitem__
linkcheck.dns.name.Name(linkcheck.dns.name.from_text(socket.gethostname())[1:])
@ -12,8 +11,6 @@
- [HTTP] Do not fall back to GET when no recursion is requested on
single pages. This would allow to check pages even if robots.txt
disallows to get the page content.
- [HTTP] There are still errors "Bad status Line" and "Connect reset by peer"
See email.
- [HTTP] try out httest
- [CHECKING] Parse Word files for hyperlinks (needs win32com)
app = CreateObject("Word.Application")

View file

@ -312,11 +312,13 @@ class MyBuild (build, object):
def build_message_files (self):
"""For each po/*.po, build .mo file in target locale directory."""
# msgfmt.py is in the po/ subdirectory
sys.path.append('po')
import msgfmt
for (src, dst) in list_message_files(self.distribution.get_name()):
build_dst = os.path.join("build", dst)
self.mkpath(os.path.dirname(build_dst))
self.announce("Compiling %s -> %s" % (src, build_dst))
from linkcheck import msgfmt
msgfmt.make(src, build_dst)
def run (self):