From 86b9711f2c96c14b782565d4b5a7b86af4c711c2 Mon Sep 17 00:00:00 2001 From: medmunds Date: Sat, 12 Jan 2013 13:49:35 -0800 Subject: [PATCH] setup: close license, readme files --- setup.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1ff3eb7..d17f699 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,10 @@ from setuptools import setup +with open('LICENSE') as file: + license_text = file.read() +with open('README.rst') as file: + long_description = file.read() + setup( name="djrill", version="0.2.0", @@ -8,7 +13,7 @@ setup( author="Kenneth Love , Chris Jones ", author_email="kenneth@brack3t.com", url="https://github.com/brack3t/Djrill/", - license=open('LICENSE').read(), + license=license_text, packages=["djrill"], zip_safe=False, install_requires=["requests", "django"], @@ -22,5 +27,5 @@ setup( "Framework :: Django", "Environment :: Web Environment", ], - long_description=open('README.rst').read(), + long_description=long_description, )