summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBruno Alla <bruno.alla@founders4schools.org.uk>2017-01-12 09:49:45 +0000
committerBruno Alla <bruno.alla@founders4schools.org.uk>2017-05-02 17:33:14 +0100
commit80e72cfa27264efb9f525bd92ce6476c5eadb3e9 (patch)
tree5bcba41ed2b45c5e063d00a0676ae9400a582417 /setup.py
parent05bd0d1d42e2a1aeb3b835a4ae96de7364735192 (diff)
downloadtablib-80e72cfa27264efb9f525bd92ce6476c5eadb3e9.tar.gz
Fix unicode encode errors on Python 2 -- Fixes #215
Switch csv library to backports.csv as the implementation is closer to the python 3 one. Add a test case covering the problem. Run tests with unicode_literals from future Fix unicode encode errors with unicode characters - Use `backports.csv` instead of `unicodecsv` - Use StringIO instead of cStringIO - Clean-up some Python 2 specific code
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index e46eb88..6fc94ae 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ packages = [
install = [
'odfpy',
'openpyxl',
- 'unicodecsv',
+ 'backports.csv',
'xlrd',
'xlwt',
'pyyaml',