mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 13:14:46 +00:00
new source code structure
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1417 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
5b26c14aba
commit
1d03853af0
2 changed files with 13 additions and 10 deletions
9
Makefile
9
Makefile
|
|
@ -10,12 +10,13 @@ HTMLDIR=/home/calvin/public_html/linkchecker.sf.net/htdocs
|
|||
HOST=www.debian.org
|
||||
#LCOPTS=-ocolored -Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -R -t0 -v -s
|
||||
LCOPTS=-ocolored -Ftext -Fhtml -Fgml -Fsql -Fcsv -Fxml -R -t0 -v -s -r1
|
||||
TEST := test/run.sh test/regrtest.py
|
||||
DESTDIR = /.
|
||||
MD5SUMS := linkchecker-md5sums.txt
|
||||
PYCHECKEROPTS := -F config/pycheckrc
|
||||
#PYLINTOPTS := -F config/pylintrc
|
||||
PYLINTOPTS :=
|
||||
# --ignore=httplib2.py
|
||||
PYFILES := linkcheck/*.py linkcheck/logger/*.py linkcheck/checker/*.py
|
||||
TESTFILES := linkcheck/tests/*.py linkcheck/ftests/*.py
|
||||
|
||||
all:
|
||||
@echo "Read the file INSTALL to see how to build and install"
|
||||
|
|
@ -84,7 +85,7 @@ homepage: files VERSION
|
|||
cp $(MD5SUMS) $(HTMLDIR)/
|
||||
|
||||
test:
|
||||
env PYTHONPATH=. python test.py -fupv
|
||||
test/run.sh test.py --resource=network -fupv
|
||||
|
||||
locale:
|
||||
$(MAKE) -C po
|
||||
|
|
@ -104,7 +105,7 @@ pycheck:
|
|||
-env PYTHONPATH=. PYTHONVER=2.3 pychecker $(PYCHECKEROPTS) $(PYFILES)
|
||||
|
||||
pylint:
|
||||
-env PYTHONPATH=. pylint $(PYLINTOPTS) $(PYFILES)
|
||||
-env PYTHONPATH=. PYLINTRC=config/pylintrc pylint $(PYLINTOPTS) $(PYFILES) $(TESTFILES)
|
||||
|
||||
reindent:
|
||||
$(PYTHON) config/reindent.py -r -v linkcheck
|
||||
|
|
|
|||
14
setup.py
14
setup.py
|
|
@ -198,13 +198,15 @@ o a (Fast)CGI web interface (requires HTTP server)
|
|||
'install_data': MyInstallData,
|
||||
},
|
||||
packages = ['linkcheck', 'linkcheck.logger', 'linkcheck.checker',
|
||||
'bk.HtmlParser', 'bk.net', 'bk.net.dns',],
|
||||
ext_modules = [Extension('bk.HtmlParser.htmlsax',
|
||||
['bk/HtmlParser/htmllex.c',
|
||||
'bk/HtmlParser/htmlparse.c',
|
||||
'bk/HtmlParser/s_util.c',
|
||||
'linkcheck.dns', 'linkcheck.dns.rdtypes',
|
||||
'linkcheck.dns.rdtypes.ANY', 'linkcheck.dns.rdtypes.IN',
|
||||
'linkcheck.HtmlParser', ],
|
||||
ext_modules = [Extension('linkcheck.HtmlParser.htmlsax',
|
||||
['linkcheck/HtmlParser/htmllex.c',
|
||||
'linkcheck/HtmlParser/htmlparse.c',
|
||||
'linkcheck/HtmlParser/s_util.c',
|
||||
],
|
||||
include_dirs = ["bk/HtmlParser"],
|
||||
include_dirs = ["linkcheck/HtmlParser"],
|
||||
define_macros = macros,
|
||||
)],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue