mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
f9518e42b9
Actually there is a test failing in the test suite in PG 9.4beta2, but it's probably because the default logging level is to DEBUG. Will wait for the final release to check if the test is to be fixed. All other tests pass no problem. |
||
---|---|---|
.. | ||
src | ||
COPYING.LESSER | ||
HACKING | ||
Makefile | ||
pep-0249.txt | ||
README | ||
SUCCESS |
How to build psycopg documentation ---------------------------------- - Install Sphinx, maybe in a virtualenv. Tested with Sphinx 0.6.4:: ~$ virtualenv pd New python executable in pd/bin/python Installing setuptools............done. ~$ cd pd ~/pd$ source bin/activate (pd)~/pd$ - Install Sphinx in the env:: (pd)~/pd$ easy_install sphinx Searching for sphinx Reading http://pypi.python.org/simple/sphinx/ Reading http://sphinx.pocoo.org/ Best match: Sphinx 0.6.4 ... Finished processing dependencies for sphinx - Build psycopg2 and ensure the package can be imported (it will be used for reading the version number, autodocs etc.):: (pd)~/pd/psycopg2$ python setup.py build (pd)~/pd/psycopg2$ python setup.py install running install ... creating ~/pd/lib/python2.6/site-packages/psycopg2 ... - Move to the ``doc`` dir and run ``make`` from there:: (pd)~/pd/psycopg2$ cd doc/ (pd)~/pd/psycopg2/doc$ make Running Sphinx v0.6.4 ... You should have the rendered documentation in ``./html`` and the text file ``psycopg2.txt`` now.