mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
fix .mo file names
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1754 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
9a8beaac4a
commit
ab32370f67
1 changed files with 4 additions and 11 deletions
15
setup.py
15
setup.py
|
|
@ -102,7 +102,7 @@ class MyInstall (install, object):
|
|||
|
||||
|
||||
class MyInstallData (install_data, object):
|
||||
"""My own data installer to handle permissions and .man pages"""
|
||||
"""My own data installer to handle permissions"""
|
||||
|
||||
def run (self):
|
||||
super(MyInstallData, self).run()
|
||||
|
|
@ -116,13 +116,6 @@ class MyInstallData (install_data, object):
|
|||
mode |= 044
|
||||
os.chmod(path, mode)
|
||||
|
||||
def copy_file (self, filename, dirname):
|
||||
(out, _) = install_data.copy_file(self, filename, dirname)
|
||||
# match for man pages
|
||||
if re.search(r'/man/man\d/.+\.\d$', out):
|
||||
return (out+".gz", _)
|
||||
return (out, _)
|
||||
|
||||
|
||||
class MyDistribution (distklass, object):
|
||||
|
||||
|
|
@ -230,11 +223,11 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
scripts = scripts,
|
||||
data_files = [
|
||||
('share/locale/de/LC_MESSAGES',
|
||||
['share/locale/de/LC_MESSAGES/linkcheck.mo']),
|
||||
['share/locale/de/LC_MESSAGES/linkchecker.mo']),
|
||||
('share/locale/fr/LC_MESSAGES',
|
||||
['share/locale/fr/LC_MESSAGES/linkcheck.mo']),
|
||||
['share/locale/fr/LC_MESSAGES/linkchecker.mo']),
|
||||
('share/locale/nl/LC_MESSAGES',
|
||||
['share/locale/nl/LC_MESSAGES/linkcheck.mo']),
|
||||
['share/locale/nl/LC_MESSAGES/linkchecker.mo']),
|
||||
('share/linkchecker', ['config/linkcheckerrc',
|
||||
'config/logging.conf', ]),
|
||||
('share/linkchecker/examples',
|
||||
|
|
|
|||
Loading…
Reference in a new issue