From 0ee8ba5552c40130eecae62464127724c39ed28d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 8 Feb 2011 19:37:17 +0100 Subject: [PATCH] Add README as long_description --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 6d56602cf1..c418a94582 100644 --- a/setup.py +++ b/setup.py @@ -12,9 +12,13 @@ SIMPLEJSON = [] if sys.version_info < (2, 6): SIMPLEJSON = ['simplejson'] +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + setup(name=PACKAGE, version=VERSION, description='Tryton server', + long_description=read('README'), author='B2CK', author_email='info@b2ck.com', url=WEBSITE,