Skip to content

Commit 250ecbb

Browse files
committed
add long_description to setup.py
1 parent 65ac7d3 commit 250ecbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def get_version_and_cmdclass(package_name):
2323

2424
version, cmdclass = get_version_and_cmdclass("adaptive")
2525

26+
with open("README.rst") as f:
27+
readme = f.read()
2628

2729
install_requires = [
2830
"scipy",
@@ -48,6 +50,8 @@ def get_version_and_cmdclass(package_name):
4850
setup(
4951
name="adaptive",
5052
description="Adaptive parallel sampling of mathematical functions",
53+
long_description=readme,
54+
long_description_content_type="text/x-rst",
5155
version=version,
5256
python_requires=">=3.6",
5357
url="https://adaptive.readthedocs.io/",
@@ -59,6 +63,7 @@ def get_version_and_cmdclass(package_name):
5963
"Intended Audience :: Science/Research",
6064
"Programming Language :: Python :: 3.6",
6165
"Programming Language :: Python :: 3.7",
66+
"Programming Language :: Python :: 3.8",
6267
],
6368
packages=find_packages("."),
6469
install_requires=install_requires,

0 commit comments

Comments
 (0)