Use README for long_description in setup.py.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 18:39:36 +0000 (14:39 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 18:39:36 +0000 (14:39 -0400)
setup.py

index 0e38bb7..aae40d1 100755 (executable)
--- 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',