From 213b54d23c7d353af1f123c7f7cf8ad7896d78a0 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Fri, 11 Sep 2015 09:57:26 +0200 Subject: [PATCH] Changed setup.py sdist to include the readme as long description --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1753c89..75fbc5e 100644 --- a/setup.py +++ b/setup.py @@ -38,15 +38,18 @@ def finalize_options(self): def run(self): discover_and_run_tests() +with open('README.rst') as readme_file: + readme = readme_file.read() setup( name='isc_dhcp_leases', - version='0.5.0', + version='0.5.1', packages=['isc_dhcp_leases'], url='https://github.com/MartijnBraam/python-isc-dhcp-leases', license='MIT', author='Martijn Braam', author_email='martijn@brixit.nl', description='Small python module for reading /var/lib/dhcp/dhcpd.leases from isc-dhcp-server', + long_description=readme, cmdclass={'test': DiscoverTest}, )