From c44fc32f5b089f4c30e76fc9d29afc23b8ba308a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 19 Apr 2011 14:39:36 -0400 Subject: [PATCH] Use README for long_description in setup.py. --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0e38bb7..aae40d1 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ #!/usr/bin/env python +"Python framework for the sawsim force spectroscopy simulator." + from distutils.core import setup from os import listdir import os.path @@ -11,12 +13,15 @@ SCRIPT_DIR = 'bin' scripts = [os.path.join(SCRIPT_DIR, s) for s in listdir(SCRIPT_DIR) if s.endswith('.py')] +_this_dir = os.path.dirname(__file__) + setup( name='pysawsim', version=__version__, author='W. Trevor King', author_email='wking@drexel.edu', - description='Python framework for the sawsim force spectroscopy simulator.', + description=__doc__, + long_description = open(os.path.join(_this_dir, 'README'), 'r').read(), url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/sawsim/', packages=['pysawsim', 'pysawsim.manager', -- 2.26.2