From 376372e360baf1bf3dc8894e98ebe9f5c873c92c Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 17 Jul 2015 10:56:58 +0200 Subject: [PATCH] setup.py: use README.txt for the long description --- setup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index f8312ae..3da60f1 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import distutils.core import setuptools from distutils.command.sdist import sdist from glob import glob -from os.path import splitext, basename, join as pjoin +from os.path import splitext, basename, join as pjoin, dirname import os from unittest import TextTestRunner, TestLoader import doctest @@ -85,9 +85,10 @@ setuptools.setup( license='GPLv3 or later', description='Common API to use all French online payment credit card ' 'processing services', - long_description='eopayment is a Python module to interface with ' - 'French\'s bank credit card online payment services. Supported ' - 'services are ATOS/SIP, SystemPay, and SPPLUS.', + long_description=file( + os.path.join( + os.path.dirname(__file__), + 'README.txt')).read(), url='http://dev.entrouvert.org/projects/eopayment/', author="Entr'ouvert", author_email="info@entrouvert.com",