Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Replaced the csv module with unicodecsv
Browse files Browse the repository at this point in the history
This fixes the lacking unicode support in the default python csv module, by
replacing it with the unicodecsv module instead of adding potential buggy code.

Fixes ickc#14.
  • Loading branch information
reenberg committed Jul 31, 2017
1 parent a9fc4e1 commit 025077d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pantable/pantable.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
```
"""

import csv
import unicodecsv as csv
import fractions
import io
import panflute
Expand Down
2 changes: 1 addition & 1 deletion pantable/pantable2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
~~~
"""

import csv
import unicodecsv as csv
import io
import panflute
import yaml
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['panflute>=1.8.2'],
install_requires=['panflute>=1.8.2', 'unicodecsv>=0.14.1'],

# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
Expand Down

0 comments on commit 025077d

Please sign in to comment.