Skip to content

Commit f5eea1c

Browse files
committed
Merge branch 'common-diffpy-patches'
2 parents 03b4432 + 54d52a8 commit f5eea1c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ before_install:
3838
MYPIP=pip3;
3939
MYPIPFLAGS="--user";
4040
fi
41-
- MYMCREPO=https://repo.continuum.io/miniconda
41+
- MYMCREPO=https://repo.anaconda.com/miniconda
4242
- case ${TRAVIS_OS_NAME} in
4343
linux)
4444
MYMCBUNDLE=Miniconda3-latest-Linux-x86_64.sh ;;
@@ -60,7 +60,7 @@ before_install:
6060
- $NOMC || popd
6161
- $NOMC || source ~/mc/bin/activate base
6262
- $NOMC || conda update --yes conda
63-
- $NOMC || conda install --yes conda-build jinja2
63+
- $NOMC || conda install --yes conda-build conda-verify jinja2
6464
- $NOMC || conda create --name=testenv --yes python=${MYPYTHON_VERSION} coverage
6565
- $NOMC || conda config --add channels diffpy
6666

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:target: https://travis-ci.org/diffpy/diffpy.srfit
33

44
.. image:: https://codecov.io/gh/diffpy/diffpy.srfit/branch/master/graph/badge.svg
5-
:target: https://codecov.io/gh/diffpy/diffpy.srfit/branch/master
5+
:target: https://codecov.io/gh/diffpy/diffpy.srfit
66

77

88
diffpy.srfit

setup.py

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

7878
versiondata = getversioncfg()
7979

80+
with open(os.path.join(MYDIR, 'README.rst')) as fp:
81+
long_description = fp.read()
82+
8083
# define distribution
8184
setup_args = dict(
8285
name = "diffpy.srfit",
@@ -92,6 +95,8 @@ def getversioncfg():
9295
maintainer = "Pavol Juhas",
9396
maintainer_email = "[email protected]",
9497
description = "SrFit - Structure refinement from diffraction data",
98+
long_description = long_description,
99+
long_description_content_type = 'text/x-rst',
95100
license = 'BSD-style license',
96101
url = "https://github.com/diffpy/diffpy.srfit",
97102
keywords = "optimization constraints restraints structure refinement complex modeling",

0 commit comments

Comments
 (0)