Changeset 124 for tags/0.4.1/setup.py

Show
Ignore:
Timestamp:
10/29/08 04:45:01 (4 years ago)
Author:
lgs
Message:

Use unicode since we have non ascii characters in the CHANGES.txt file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/0.4.1/setup.py

    r123 r124  
    2020 
    2121def read(*rnames): 
    22     return open(os.path.join(os.path.dirname(__file__), *rnames)).read() 
     22    data = open(os.path.join(os.path.dirname(__file__), *rnames)).read() 
     23    return unicode(data, 'utf-8') 
    2324 
    2425setup( 
     
    3031    long_description=( 
    3132        read('README.txt') 
    32         + '\n\n' + 
     33        + u'\n\n' + 
    3334        read('CHANGES.txt') 
    3435    ),