From c3c24cd67b8af6da2adbe41780faf6d168f8e2cc Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 31 Dec 2019 13:09:13 +0100 Subject: [PATCH] Website on https --- INSTALL | 2 +- README.rst | 8 ++++---- doc/README.rst | 2 +- doc/src/faq.rst | 2 +- doc/src/index.rst | 2 +- lib/__init__.py | 2 +- setup.py | 10 +++++----- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/INSTALL b/INSTALL index f9946f90..7a04aabc 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ Installation instructions are included in the docs. Please check the 'doc/src/install.rst' file or online at -. +. diff --git a/README.rst b/README.rst index 767903b8..acf56a60 100644 --- a/README.rst +++ b/README.rst @@ -23,12 +23,12 @@ Documentation Documentation is included in the ``doc`` directory and is `available online`__. -.. __: http://www.psycopg.org/docs/ +.. __: https://www.psycopg.org/docs/ For any other resource (source code repository, bug tracker, mailing list) please check the `project homepage`__. -.. __: http://psycopg.org/ +.. __: https://psycopg.org/ Installation @@ -58,8 +58,8 @@ production it is advised to use the package built from sources. .. _PyPI: https://pypi.org/project/psycopg2/ .. _psycopg2-binary: https://pypi.org/project/psycopg2-binary/ -.. _install: http://www.psycopg.org/docs/install.html#install-from-source -.. _faq: http://www.psycopg.org/docs/faq.html#faq-compile +.. _install: https://www.psycopg.org/docs/install.html#install-from-source +.. _faq: https://www.psycopg.org/docs/faq.html#faq-compile :Linux/OSX: |travis| :Windows: |appveyor| diff --git a/doc/README.rst b/doc/README.rst index 0e0d155b..7c435b37 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -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 installed when building the env. -.. _prerequisites: http://www.psycopg.org/docs/install.html#install-from-source +.. _prerequisites: https://www.psycopg.org/docs/install.html#install-from-source .. _virtualenv: https://virtualenv.pypa.io/en/latest/ Build the env once with:: diff --git a/doc/src/faq.rst b/doc/src/faq.rst index b593c58a..b8e175fe 100644 --- a/doc/src/faq.rst +++ b/doc/src/faq.rst @@ -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 `this implementation`__. - .. __: http://www.psycopg.org/articles/2014/07/20/cancelling-postgresql-statements-python/ + .. __: https://www.psycopg.org/articles/2014/07/20/cancelling-postgresql-statements-python/ .. code-block:: pycon diff --git a/doc/src/index.rst b/doc/src/index.rst index 6b837775..aa7fea5f 100644 --- a/doc/src/index.rst +++ b/doc/src/index.rst @@ -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: http://psycopg.org/ +.. _Psycopg: https://psycopg.org/ .. _PostgreSQL: https://www.postgresql.org/ .. _Python: https://www.python.org/ .. _libpq: https://www.postgresql.org/docs/current/static/libpq.html diff --git a/lib/__init__.py b/lib/__init__.py index 70744178..ef725da7 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -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 small and fast, and stable as a rock. -Homepage: http://psycopg.org/ +Homepage: https://psycopg.org/ .. _PostgreSQL: https://www.postgresql.org/ .. _Python: https://www.python.org/ diff --git a/setup.py b/setup.py index 1d798e47..ff0e0aa7 100644 --- a/setup.py +++ b/setup.py @@ -104,7 +104,7 @@ If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary' package instead. For further information please check the 'doc/src/install.rst' file (also at -). +). """) 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. For further information please check the 'doc/src/install.rst' file (also at -). +). """) raise @@ -594,7 +594,7 @@ setup(name="psycopg2", author_email="fog@initd.org", maintainer="Daniele Varrazzo", maintainer_email="daniele.varrazzo@gmail.org", - url="http://psycopg.org/", + url="https://psycopg.org/", license="LGPL with exceptions", platforms=["any"], python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', @@ -607,8 +607,8 @@ setup(name="psycopg2", cmdclass={'build_ext': psycopg_build_ext}, ext_modules=ext, project_urls={ - 'Homepage': 'http://psycopg.org/', - 'Documentation': 'http://www.psycopg.org/docs/', + 'Homepage': 'https://psycopg.org/', + 'Documentation': 'https://www.psycopg.org/docs/', 'Code': 'https://github.com/psycopg/psycopg2', 'Issue Tracker': 'https://github.com/psycopg/psycopg2/issues', 'Download': 'https://pypi.org/project/psycopg2/',