Skip to content

Commit

Permalink
setup.py: use readme+changelog as long description
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasw committed Apr 12, 2016
1 parent 36f8ba5 commit 9a35cdb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from codecs import open
import multiprocessing # noqa `python setup.py test` fix for python 2.6
from setuptools import setup, find_packages
import sys
Expand All @@ -10,6 +11,11 @@
if sys.version_info[:2] < (3, 3): # mock was added to the stdlib in 3.3
tests_require.append('mock==1.3.0')

with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()

with open('CHANGELOG.rst', 'r', 'utf-8') as f:
changelog = f.read()

setup(
name='testtube',
Expand All @@ -18,6 +24,7 @@
author=__author__,
author_email='thomas.welfley+testtube@gmail.com',
description=__doc__,
long_description='%s\n\n%s' % (readme, changelog),
packages=find_packages(),
scripts=['testtube/bin/stir'],
install_requires=['six>=1.2.0', 'termcolor==1.1.0', 'watchdog==0.7.1'],
Expand Down

0 comments on commit 9a35cdb

Please sign in to comment.