mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-10-24 12:31:05 +03:00
For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package. |
||
|---|---|---|
| .. | ||
| src | ||
| COPYING.LESSER | ||
| Makefile | ||
| pep-0249.txt | ||
| README.rst | ||
| release.rst | ||
| requirements.txt | ||
| SUCCESS | ||
How to build psycopg documentation
----------------------------------
Building the documentation usually requires building the library too for
introspection, so you will need the same prerequisites_. The only extra
prerequisite is virtualenv_: the packages needed to build the docs will be
installed when building the env.
.. _prerequisites: http://initd.org/psycopg/docs/install.html#install-from-source
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
Build the env once with::
make env
Then you can build the documentation with::
make
Or the single targets::
make html
make text
You should find the rendered documentation in the ``html`` dir and the text
file ``psycopg2.txt``.