Changeset 115

Show
Ignore:
Timestamp:
10/18/09 21:57:46 (3 years ago)
Author:
mauro
Message:

fix setup.py

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plone4bio.biosql/trunk/setup.py

    r112 r115  
    11from setuptools import setup, find_packages 
    22version = '1.0.1' 
    3  
    4 def read(*rnames): 
    5     return open(os.path.join(os.path.dirname(__file__), *rnames)).read() 
    6  
    7 long_description = ( 
    8     read('README.txt') 
    9     + '\n' + 
    10     'Detailed Documentation\n' 
    11     '**********************\n' 
    12     + '\n' + 
    13     read('src', 'plone4bio', 'biosql', 'README.txt') 
    14     + '\n' + 
    15     'Contributors\n' 
    16     '************\n' 
    17     + '\n' + 
    18     read('docs', 'AUTHORS.txt') 
    19     + '\n' + 
    20     'Change history\n' 
    21     '**************\n' 
    22     + '\n' + 
    23     read('docs', 'CHANGES.txt') 
    24     + '\n' + 
    25    'Download\n' 
    26     '********\n' 
    273 
    284tests_require = ['collective.testcaselayer'] 
     
    317      version=version, 
    328      description="Plone4Bio BioSQL", 
    33       long_description=long_description, 
     9      long_description='\n'.join( 
     10          open(os.path.join(*path)).read() for path in [ 
     11              ("README.txt"), 
     12              ("src", "plone4bio", "biosql", "README.txt"), 
     13              ("docs", "AUTHORS.txt"), ("docs", "CHANGES.txt")]), 
    3414      # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers 
    3515      classifiers=[