Skip to content

Commit

Permalink
add long_description to setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Dec 11, 2019
1 parent 65ac7d3 commit 250ecbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def get_version_and_cmdclass(package_name):

version, cmdclass = get_version_and_cmdclass("adaptive")

with open("README.rst") as f:
readme = f.read()

install_requires = [
"scipy",
Expand All @@ -48,6 +50,8 @@ def get_version_and_cmdclass(package_name):
setup(
name="adaptive",
description="Adaptive parallel sampling of mathematical functions",
long_description=readme,
long_description_content_type="text/x-rst",
version=version,
python_requires=">=3.6",
url="https://adaptive.readthedocs.io/",
Expand All @@ -59,6 +63,7 @@ def get_version_and_cmdclass(package_name):
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
packages=find_packages("."),
install_requires=install_requires,
Expand Down

0 comments on commit 250ecbb

Please sign in to comment.