Skip to content

Commit 8d38b95

Browse files
committed
Use README as long description for PyPI
1 parent f7f0e15 commit 8d38b95

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.rst

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
Attempt to provide a good-practice template for Python packages,
55
making use of cloud-hosted services.
66

7-
Documentation `on Readthedocs <http://python-package-template.readthedocs.io/>`__
7+
Documentation `on Readthedocs <http://python-package-template.readthedocs.io/>`__.
88

99
Authors: Thomas Kluyver, Hans Fangohr

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
from distutils.core import setup
22

3+
with open('README.rst') as f:
4+
readme = f.read()
5+
36
setup(
47
name='package_template',
58
version='0.1',
69
description='A simple example of a Python package',
10+
long_description=readme,
711
author='Computational Modelling Group',
812
author_email='[email protected]',
913
packages=['package_template', 'package_template.tests'],

0 commit comments

Comments
 (0)