Skip to content

Commit d2e22e6

Browse files
committed
Merge branch 'common-diffpy-patches'
2 parents 80be686 + cb6b43c commit d2e22e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. image:: https://travis-ci.org/diffpy/diffpy.srreal.svg?branch=master
22
:target: https://travis-ci.org/diffpy/diffpy.srreal
33

4-
.. image:: http://codecov.io/github/diffpy/diffpy.srreal/coverage.svg?branch=master
5-
:target: http://codecov.io/github/diffpy/diffpy.srreal?branch=master
4+
.. image:: https://codecov.io/gh/diffpy/diffpy.srreal/branch/master/graph/badge.svg
5+
:target: https://codecov.io/gh/diffpy/diffpy.srreal
66

77
diffpy.srreal
88
========================================================================

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ def getversioncfg():
137137

138138
versiondata = getversioncfg()
139139

140+
with open(os.path.join(MYDIR, 'README.rst')) as fp:
141+
long_description = fp.read()
142+
140143
# define distribution
141144
setup_args = dict(
142145
name = "diffpy.srreal",
@@ -157,6 +160,8 @@ def getversioncfg():
157160
maintainer_email = "[email protected]",
158161
description = ("calculators for PDF, bond valence sum, and other "
159162
"quantities based on atom pair interaction."),
163+
long_description = long_description,
164+
long_description_content_type = 'text/x-rst',
160165
license = 'BSD-style license',
161166
url = "https://github.com/diffpy/diffpy.srreal/",
162167
keywords = "PDF BVS atom overlap calculator real-space",

0 commit comments

Comments
 (0)