Changeset 241:8b70aa92733d


Ignore:
Timestamp:
Sep 4, 2018, 9:06:36 AM (19 months ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
hg-git-rename-source:
git
Message:

Address encoding issue with setup.py, python 3, and some locales

Fixes #89.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r240 r241  
    2828    egg_info.write_toplevel_names = _hacked_write_toplevel_names
    2929
    30 with open('README.rst', 'r') as f:
    31     long_description = f.read()
     30with open('README.rst', 'rb') as f:
     31    long_description = f.read().decode('utf-8')
    3232
    3333setup(name='wokkel',
    3434      description='Twisted Jabber support library',
    35       long_description = long_description,
     35      long_description=long_description,
    3636      author='Ralph Meijer',
    3737      author_email='ralphm@ik.nu',
Note: See TracChangeset for help on using the changeset viewer.