Skip to content

Commit

Permalink
Add long_description and long_description_content_type metadata for R…
Browse files Browse the repository at this point in the history
…EADME to show in pypi.
  • Loading branch information
rickynilsson committed Jul 15, 2023
1 parent e9d229f commit 8e0ab13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = astroquery
version = 0.4.7.dev
description = Functions and classes to access online astronomical data resources
# FIXME long_description =
author = The Astroquery Developers
license = BSD
url = http://astropy.org/astroquery
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@

from astropy_helpers.setup_helpers import setup

setup()
# Read the contents of the README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.rst").read_text()

setup(long_description=long_description, long_description_content_type='text/x-rst')

0 comments on commit 8e0ab13

Please sign in to comment.