Changed docs to point to psycopg.org

This commit is contained in:
Daniele Varrazzo 2019-12-30 18:12:46 +01:00
parent 3d29ace058
commit 9154d0920c
8 changed files with 24 additions and 21 deletions

View File

@ -1,4 +1,4 @@
Installation instructions are included in the docs. Installation instructions are included in the docs.
Please check the 'doc/src/install.rst' file or online at Please check the 'doc/src/install.rst' file or online at
<http://initd.org/psycopg/docs/install.html>. <http://www.psycopg.org/docs/install.html>.

View File

@ -23,11 +23,13 @@ Documentation
Documentation is included in the ``doc`` directory and is `available online`__. Documentation is included in the ``doc`` directory and is `available online`__.
.. __: http://initd.org/psycopg/docs/ .. __: http://www.psycopg.org/docs/
For any other resource (source code repository, bug tracker, mailing list) For any other resource (source code repository, bug tracker, mailing list)
please check the `project homepage`__. please check the `project homepage`__.
.. __: http://psycopg.org/
Installation Installation
------------ ------------
@ -56,11 +58,8 @@ production it is advised to use the package built from sources.
.. _PyPI: https://pypi.org/project/psycopg2/ .. _PyPI: https://pypi.org/project/psycopg2/
.. _psycopg2-binary: https://pypi.org/project/psycopg2-binary/ .. _psycopg2-binary: https://pypi.org/project/psycopg2-binary/
.. _install: http://initd.org/psycopg/docs/install.html#install-from-source .. _install: http://www.psycopg.org/docs/install.html#install-from-source
.. _faq: http://initd.org/psycopg/docs/faq.html#faq-compile .. _faq: http://www.psycopg.org/docs/faq.html#faq-compile
.. __: http://initd.org/psycopg/
:Linux/OSX: |travis| :Linux/OSX: |travis|
:Windows: |appveyor| :Windows: |appveyor|

View File

@ -6,7 +6,7 @@ introspection, so you will need the same prerequisites_. The only extra
prerequisite is virtualenv_: the packages needed to build the docs will be prerequisite is virtualenv_: the packages needed to build the docs will be
installed when building the env. installed when building the env.
.. _prerequisites: http://initd.org/psycopg/docs/install.html#install-from-source .. _prerequisites: http://www.psycopg.org/docs/install.html#install-from-source
.. _virtualenv: https://virtualenv.pypa.io/en/latest/ .. _virtualenv: https://virtualenv.pypa.io/en/latest/
Build the env once with:: Build the env once with::

View File

@ -292,7 +292,7 @@ How do I interrupt a long-running query in an interactive shell?
can handle a :kbd:`Ctrl-C` correctly. For previous versions, you can use can handle a :kbd:`Ctrl-C` correctly. For previous versions, you can use
`this implementation`__. `this implementation`__.
.. __: http://initd.org/psycopg/articles/2014/07/20/cancelling-postgresql-statements-python/ .. __: http://www.psycopg.org/articles/2014/07/20/cancelling-postgresql-statements-python/
.. code-block:: pycon .. code-block:: pycon

View File

@ -23,7 +23,7 @@ extended and customized thanks to a flexible :ref:`objects adaptation system
Psycopg 2 is both Unicode and Python 3 friendly. Psycopg 2 is both Unicode and Python 3 friendly.
.. _Psycopg: http://initd.org/psycopg/ .. _Psycopg: http://psycopg.org/
.. _PostgreSQL: https://www.postgresql.org/ .. _PostgreSQL: https://www.postgresql.org/
.. _Python: https://www.python.org/ .. _Python: https://www.python.org/
.. _libpq: https://www.postgresql.org/docs/current/static/libpq.html .. _libpq: https://www.postgresql.org/docs/current/static/libpq.html

View File

@ -257,7 +257,8 @@ In case of problems, Psycopg can be configured to emit detailed debug
messages, which can be very useful for diagnostics and to report a bug. In messages, which can be very useful for diagnostics and to report a bug. In
order to create a debug package: order to create a debug package:
- `Download`__ and unpack the Psycopg source package. - `Download`__ and unpack the Psycopg *source package* (the ``.tar.gz``
package).
- Edit the ``setup.cfg`` file adding the ``PSYCOPG_DEBUG`` flag to the - Edit the ``setup.cfg`` file adding the ``PSYCOPG_DEBUG`` flag to the
``define`` option. ``define`` option.
@ -274,7 +275,7 @@ order to create a debug package:
one you just compiled and not e.g. the system one): you will have a copious one you just compiled and not e.g. the system one): you will have a copious
stream of informations printed on stderr. stream of informations printed on stderr.
.. __: http://initd.org/psycopg/download/ .. __: https://pypi.org/project/psycopg2/#files

View File

@ -6,7 +6,7 @@ provide new-style classes for connection and cursor objects and other sweet
candies. Like the original, psycopg 2 was written with the aim of being very candies. Like the original, psycopg 2 was written with the aim of being very
small and fast, and stable as a rock. small and fast, and stable as a rock.
Homepage: http://initd.org/projects/psycopg2 Homepage: http://psycopg.org/
.. _PostgreSQL: https://www.postgresql.org/ .. _PostgreSQL: https://www.postgresql.org/
.. _Python: https://www.python.org/ .. _Python: https://www.python.org/

View File

@ -104,7 +104,7 @@ If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead. 'psycopg2-binary' package instead.
For further information please check the 'doc/src/install.rst' file (also at For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>). <http://www.psycopg.org/docs/install.html>).
""") """)
sys.exit(1) sys.exit(1)
@ -303,7 +303,7 @@ If you want to install psycopg2 from source, please install the packages
required for the build and try again. required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>). <http://www.psycopg.org/docs/install.html>).
""") """)
raise raise
@ -590,12 +590,12 @@ except Exception:
setup(name="psycopg2", setup(name="psycopg2",
version=PSYCOPG_VERSION, version=PSYCOPG_VERSION,
maintainer="Federico Di Gregorio",
maintainer_email="fog@initd.org",
author="Federico Di Gregorio", author="Federico Di Gregorio",
author_email="fog@initd.org", author_email="fog@initd.org",
url="http://initd.org/psycopg/", maintainer="Daniele Varrazzo",
license="LGPL with exceptions or ZPL", maintainer_email="daniele.varrazzo@gmail.org",
url="http://psycopg.org/",
license="LGPL with exceptions",
platforms=["any"], platforms=["any"],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
description=readme.split("\n")[0], description=readme.split("\n")[0],
@ -607,6 +607,9 @@ setup(name="psycopg2",
cmdclass={'build_ext': psycopg_build_ext}, cmdclass={'build_ext': psycopg_build_ext},
ext_modules=ext, ext_modules=ext,
project_urls={ project_urls={
'Source': 'https://github.com/psycopg/psycopg2', 'Homepage': 'http://psycopg.org/',
'Documentation': 'http://initd.org/psycopg/docs/', 'Documentation': 'http://www.psycopg.org/docs/',
'Code': 'https://github.com/psycopg/psycopg2',
'Issue Tracker': 'https://github.com/psycopg/psycopg2/issues',
'Download': 'https://pypi.org/project/psycopg2/',
}) })