mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-11 18:10:58 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@31 e7d03fd6-7b0d-0410-9947-9c21f3af8025
45 lines
1.9 KiB
Text
45 lines
1.9 KiB
Text
LinkChecker installation
|
|
==========================
|
|
|
|
Requirements:
|
|
You need Python >= 1.5.2
|
|
You get Python from http://www.python.org
|
|
|
|
Installation:
|
|
Execute "python setup.py install --create-uninstall", optionally with your
|
|
custom options (see below).
|
|
Now check links with "linkchecker" (Unix users) resp. "linkchecker.bat"
|
|
(Windows users).
|
|
|
|
Use the "build_ext" command to supply options for SSL compilation support.
|
|
|
|
Here is the usage guide for setup.py:
|
|
Global options:
|
|
--verbose (-v) run verbosely (default)
|
|
--print-version (-V) print version
|
|
--quiet (-q) run quietly (turns verbosity off)
|
|
--dry-run (-n) don't actually do anything
|
|
--force (-f) skip dependency checking between files
|
|
--help (-h) show this help message
|
|
|
|
Options for 'build_ext' command:
|
|
--build-lib (-b) directory for compiled extension modules
|
|
--build-temp (-t) directory for temporary files (build by-products)
|
|
--inplace (-i) ignore build-lib and put compiled extensions into the
|
|
--include-dirs (-I) list of directories to search for header files
|
|
--define (-D) C preprocessor macros to define
|
|
--undef (-U) C preprocessor macros to undefine
|
|
--libs (-l) external C libraries to link with
|
|
--library-dirs (-L) directories to search for external C libraries
|
|
--rpath (-R) directories to search for shared C libraries at runtime
|
|
--link-objects (-O) extra explicit link objects to include in the link
|
|
--debug (-g) compile/link with debugging information
|
|
|
|
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
|
|
or: setup.py --help
|
|
or: setup.py --help-commands
|
|
or: setup.py cmd --help
|
|
|
|
For example your openssl headers are in /usr/local/include/openssl and
|
|
the library is in /usr/local/lib:
|
|
./setup.py build_ext -I/usr/local/include/openssl -L/usr/local/lib
|