From: W. Trevor King Date: Tue, 19 Apr 2011 18:39:36 +0000 (-0400) Subject: Use README for long_description in setup.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c44fc32f5b089f4c30e76fc9d29afc23b8ba308a;p=sawsim.git Use README for long_description in setup.py. --- 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',