diff --git a/README.md b/README.md index bd541aa02a9f787da57e2a5b483ce3d5639caab0..dc39a71add933f74384e08aad914382507703696 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,6 @@ Tests To run the tests, install `pytest` and `pytest-cov`, and then run: - python setup.py test + python setup.py test A code coverage report will be generated in `htmlcov/`. diff --git a/setup.py b/setup.py index 246320837ffdb49671f62dc46934ec7cf5765dea..77fba29f8e5c31368f1ce333962e33e91cd4da7a 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,9 @@ with open(op.join(basedir, "fsl", "version.py")) as f: exec(line, version) break +with open(op.join(basedir, 'README.md'), 'rt') as f: + readme = f.read() + class doc(Command): """Build the API documentation. """ @@ -76,6 +79,7 @@ setup( version=version['__version__'], description='FSL Python library', + long_description=readme, url='https://git.fmrib.ox.ac.uk/paulmc/fslpy',