Skip to content

Commit 9a0c26d

Browse files
authored
Merge pull request #2772 from rickynilsson/fix_issue_2749
Fix PyPI long description
2 parents e9d229f + 8e0ab13 commit 9a0c26d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name = astroquery
33
version = 0.4.7.dev
44
description = Functions and classes to access online astronomical data resources
5-
# FIXME long_description =
65
author = The Astroquery Developers
76
license = BSD
87
url = http://astropy.org/astroquery

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@
1515

1616
from astropy_helpers.setup_helpers import setup
1717

18-
setup()
18+
# Read the contents of the README file
19+
from pathlib import Path
20+
this_directory = Path(__file__).parent
21+
long_description = (this_directory / "README.rst").read_text()
22+
23+
setup(long_description=long_description, long_description_content_type='text/x-rst')

0 commit comments

Comments
 (0)