mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-09 23:24:44 +00:00
install logging.conf
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1589 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
0d7c0104a6
commit
144ba825c2
1 changed files with 5 additions and 1 deletions
6
setup.py
6
setup.py
|
|
@ -65,6 +65,9 @@ class MyInstall (install, object):
|
|||
else:
|
||||
val = getattr(self, attr)
|
||||
data.append("%s = %r" % (attr, val))
|
||||
if d == 'data':
|
||||
cdir = os.path.join(val, "share", "linkchecker")
|
||||
data.append('config_dir = %r' % cdir)
|
||||
self.distribution.create_conf_file(self.install_lib, data)
|
||||
if os.name=="nt":
|
||||
# copy batch file to desktop
|
||||
|
|
@ -219,7 +222,8 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
['share/locale/fr/LC_MESSAGES/linkcheck.mo']),
|
||||
('share/locale/nl/LC_MESSAGES',
|
||||
['share/locale/nl/LC_MESSAGES/linkcheck.mo']),
|
||||
('share/linkchecker', ['config/linkcheckerrc']),
|
||||
('share/linkchecker', ['config/linkcheckerrc',
|
||||
'config/logging.conf', ]),
|
||||
('share/linkchecker/examples',
|
||||
['cgi/lconline/leer.html.en', 'cgi/lconline/leer.html.de',
|
||||
'cgi/lconline/index.html', 'cgi/lconline/lc_cgi.html.en',
|
||||
|
|
|
|||
Loading…
Reference in a new issue