From 8a0fccdf53e4598c27589db672514c17bcfde1da Mon Sep 17 00:00:00 2001 From: medmunds Date: Thu, 3 Jan 2013 10:16:19 -0800 Subject: [PATCH] setup: pull long_description and license from README and LICENSE files. Ensures info on PyPI matches version being distributed there. (Avoids problem where docs on github are ahead of published version on PyPI.) --- setup.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/setup.py b/setup.py index da91696..1ff3eb7 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( author="Kenneth Love , Chris Jones ", author_email="kenneth@brack3t.com", url="https://github.com/brack3t/Djrill/", - license="BSD", + license=open('LICENSE').read(), packages=["djrill"], zip_safe=False, install_requires=["requests", "django"], @@ -22,14 +22,5 @@ setup( "Framework :: Django", "Environment :: Web Environment", ], - long_description="""\ -Djrill is an email backend for Django users who want to take advantage of the -`Mandrill `_ transactional email service from MailChimp. - -In general, Djrill "just works" with Django's built-in ``django.core.mail`` -package. You can also take advantage of Mandrill-specific features like tags, -metadata, and tracking. An optional Django admin interface is included. - -Full details are on the `project page `_. -""", + long_description=open('README.rst').read(), )