diff --git a/DNS/winreg.py b/DNS/winreg.py index 6faef7cb..93db0525 100644 --- a/DNS/winreg.py +++ b/DNS/winreg.py @@ -46,7 +46,7 @@ class key_handle: keys = [] while 1: try: - print repr(EnumKey(self._key, i)) + #print repr(EnumKey(self._key, i)) keys.append(key_handle(self._key, EnumKey(self._key, i))) except EnvironmentError: break diff --git a/MANIFEST.in b/MANIFEST.in index 216122b8..20708bc8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ include README FAQ INSTALL LICENSE TODO draft-gilman-news-url-00.txt -include norobots-rfc.html +include norobots-rfc.html guruguru.bmp include linkcheckerrc linkchecker linkchecker.bat linkchecker.1 create.sql include lc.cgi lc.fcgi lc.sz_fcgi include Makefile diff --git a/debian/rules b/debian/rules index 4d687af6..fde88347 100755 --- a/debian/rules +++ b/debian/rules @@ -38,7 +38,7 @@ install: build dh_clean -k dh_installdirs $(MAKE) locale - ./setup.py install --root=`pwd`/debian/$(PACKAGE) --no-compile + ./setup.py install --root=$(CURDIR)/debian/$(PACKAGE) --no-compile # remove man pages, we install them with dh_installman rm -r debian/$(PACKAGE)/usr/man # remove files, we install them below diff --git a/linkchecker.bat b/linkchecker.bat index 20441003..c457cc8a 100644 --- a/linkchecker.bat +++ b/linkchecker.bat @@ -17,5 +17,4 @@ rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. rem uncomment the next line to enable german output rem set LC_MESSAGES=de -rem Limited to 9 parameters? Is there a * for Windows? -"python.exe" "linkchecker" %1 %2 %3 %4 %5 %6 %7 %8 %9 +"python.exe" "linkchecker" %* diff --git a/setup.py b/setup.py index 35838d2f..c6a374ef 100755 --- a/setup.py +++ b/setup.py @@ -234,8 +234,24 @@ class my_build_scripts(build_scripts): myname = "Bastian Kleineidam" myemail = "calvin@users.sourceforge.net" +scripts = ['linkchecker'] +data_files = [('share/locale/de/LC_MESSAGES', + ['locale/de/LC_MESSAGES/linkcheck.mo']), + ('share/locale/fr/LC_MESSAGES', + ['locale/fr/LC_MESSAGES/linkcheck.mo']), + ('share/linkchecker', ['linkcheckerrc']), + ('share/linkchecker/examples', + ['lconline/leer.html', + 'lconline/index.html', 'lconline/lc_cgi.html', + 'lc.cgi','lc.fcgi','lc.sz_fcgi']), + ] +if os.name=="nt": + scripts.append("linkchecker.bat") +else: + data_files.append() + setup (name = "linkchecker", - version = "1.3.6", + version = "1.3.7", description = "check HTML documents for broken links", author = myname, author_email = myemail, @@ -265,15 +281,6 @@ o a (Fast)CGI web interface (requires HTTP server) 'build_scripts': my_build_scripts, }, packages = ['','DNS','linkcheck','linkcheckssl'], - scripts = ['linkchecker'], - data_files = [('share/locale/de/LC_MESSAGES', - ['locale/de/LC_MESSAGES/linkcheck.mo']), - ('share/locale/fr/LC_MESSAGES', - ['locale/fr/LC_MESSAGES/linkcheck.mo']), - ('share/linkchecker', ['linkcheckerrc']), - ('share/linkchecker/examples', - ['linkchecker.bat', 'lconline/leer.html', - 'lconline/index.html', 'lconline/lc_cgi.html', - 'lc.cgi','lc.fcgi','lc.sz_fcgi']), - ], + scripts = scripts, + data_files = data_files, )