1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Import codec module to read README.rst file with unicode symbols
Author: Alex Mestiashvili <mailatgoogl@gmail.com>
--- python-multipletau.orig/setup.py
+++ python-multipletau/setup.py
@@ -4,6 +4,7 @@
# python setup.py sdist
from os.path import exists, dirname, realpath
from setuptools import setup
+import codecs
import sys
@@ -32,7 +33,7 @@
package_dir={name: name},
license="BSD (3 clause)",
description=description,
- long_description=open('README.rst').read() if exists('README.rst') else '',
+ long_description=codecs.open('README.rst','r','utf-8').read() if exists('README.rst') else '',
install_requires=["NumPy >= 1.5.1"],
keywords=["multiple", "tau", "FCS", "correlation", "spectroscopy",
"fluorescence"],
|