[project] name = "astroquery" dynamic = ["version"] description = "Functions and classes to access online astronomical data resources" readme = { file = "README.rst", content-type = "text/x-rst" } authors = [ {name = "The Astroquery Developers"}, ] license = "BSD-3-Clause" license-files = ["LICENSE.rst"] classifiers = [ "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Database", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Software Development :: Libraries", ] requires-python = ">=3.10" dependencies = [ "numpy>=1.22", "astropy>=5.0", "requests>=2.26", "beautifulsoup4>=4.10", "html5lib>=0.999", "keyring>=23.0", "pyvo>=1.5", ] [project.urls] Source = "https://github.com/astropy/astroquery" Documentation = "https://astroquery.readthedocs.io" [project.optional-dependencies] test = [ "pytest>=7.4", "pytest-doctestplus>=1.4", "pytest-timeout", "pytest-astropy", "matplotlib", # Temp workaround for https://github.com/RKrahl/pytest-dependency/issues/91 "pytest-dependency; platform_system != 'Windows'", "pytest-rerunfailures", "fsspec[http]", "moto[s3]", "s3fs", ] docs = [ "sphinx", # https://github.com/astropy/astroquery/issues/3102 "sphinx-automodapi", "matplotlib", "sphinx-astropy>=1.5", "scipy", "fsspec[http]", ] all = [ "mocpy>=0.12", "astropy-healpix", "boto3", "botocore", "regions>=0.5", ] [build-system] requires = ['setuptools>=70.1', 'setuptools_scm'] build-backend = 'setuptools.build_meta' [tool.setuptools_scm] write_to = 'astroquery/version.py' [tool.setuptools] include-package-data = false [tool.setuptools.packages.find] include = ["astroquery*"] [tool.setuptools.package-data] "astroquery" = ["CITATION"] # Files that are actually needed "astroquery.alma" = ["data/cycle0_delivery_asdm_mapping.txt"] "astroquery.exoplanet_orbit_database" = ["data/exoplanet_orbit_database_units.json"] "astroquery.hitran" = ["data/readme.txt"] "astroquery.linelists.cdms" = ["data/catdir.cat", "data/partfunc.cat"] "astroquery.linelists.jplspec" = ["data/catdir.cat"] "astroquery.sdss" = ["data/PhotoObjAll_dr12.json", "data/SpecObjAll_dr12.json"] "astroquery.simbad" = ["data/query_criteria_fields.json"] "astroquery.splatalogue" = ["data/splat-species.json"] "astroquery.vizier" = ["data/inverse_dict.json", "data/keywords_dict.json"] "astroquery.vo_conesearch.validator" = ["data/conesearch_urls.txt"] # Test files "*" = ["tests/data/*"] "astroquery.utils.tap.tests" = ["data/test_upload_file/*"] [tool.pytest.ini_options] minversion = "7.4" norecursedirs = [ "build", "docs/_build", "astroquery/irsa", "astroquery/nasa_exoplanet_archive", "astroquery/ned", "astroquery/ibe", "astroquery/irsa_dust", "astroquery/cds", "astroquery/sha", "astroquery/dace" ] testpaths = [ "astroquery", "docs", ] doctest_plus = "enabled" astropy_header = true text_file_format = "rst" xfail_strict = true remote_data_strict = true addopts = ["--color=yes", "--doctest-rst", "--doctest-continue-on-failure"] timeout = 300 filterwarnings = [ "error", # Ignore astroquery's own module reorganization deprecation warnings during testing "ignore:Importing from 'astroquery.jplspec' is deprecated:DeprecationWarning", "ignore:astroquery\\.vo_conesearch was deprecated:astropy.utils.exceptions.AstropyDeprecationWarning", # These are temporary measures, all of these should be fixed: # ----------------------------------------------------------- "ignore:distutils Version classes are deprecated:DeprecationWarning", # Upstream issues in many packages, not clear whether we can do anything about these in astroquery "ignore:unclosed