diff --git a/README.rst b/README.rst index 898dc8234a..9d25a11c0c 100644 --- a/README.rst +++ b/README.rst @@ -43,7 +43,7 @@ website `_, use the ``simbad`` sub-packag Installation and Requirements ----------------------------- -Astroquery works with Python 3.9 or later. +Astroquery works with Python 3.10 or later. As an `astropy`_ affiliate, astroquery requires `astropy`_ version 5.0 or later. The latest version of astroquery can be pip installed (note the ``--pre`` for @@ -62,22 +62,12 @@ dependencies required to build the documentation or run the tests): $ python -m pip install -U --pre astroquery[all] -To install the 'bleeding edge' version: +To install the 'bleeding edge' version from GitHub: .. code-block:: bash $ python -m pip install git+https://github.com/astropy/astroquery.git -or cloned and installed from source: - -.. code-block:: bash - - $ # If you have a github account: - $ git clone git@github.com:astropy/astroquery.git - $ # If you do not: - $ git clone https://github.com/astropy/astroquery.git - $ cd astroquery - $ python -m pip install . Using astroquery ---------------- @@ -114,7 +104,7 @@ looked up at the following `Zenodo page ` Additional Links ---------------- -Maintained by `Adam Ginsburg`_ and `Brigitta Sipocz `_ +Maintained by `Adam Ginsburg`_ and `Brigitta Sipőcz `_ .. _Download Development ZIP: https://github.com/astropy/astroquery/zipball/main diff --git a/docs/conf.py b/docs/conf.py index 2178e00ff4..49a2a46d55 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,9 +12,13 @@ # See astropy.sphinx.conf for which values are set there. import datetime -import os import sys -import tomllib + +if sys.version_info < (3, 11): + import tomli as tomllib +else: + import tomllib + from pathlib import Path # Load all of the global Astropy configuration