Skip to content

Commit

Permalink
Refs jazzband#273 - Replaced vendored markup lib by dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Mar 10, 2019
1 parent 6ab511f commit e610486
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 979 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include HISTORY.rst README.rst LICENSE AUTHORS NOTICE test_tablib.py
include HISTORY.rst README.rst LICENSE AUTHORS test_tablib.py
6 changes: 0 additions & 6 deletions NOTICE

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
backports.csv; python_version < '3.0'
MarkupPy
odfpy
openpyxl>=2.4.0
pandas
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
'odfpy',
'openpyxl>=2.4.0',
'backports.csv;python_version<"3.0"',
'markuppy'
'xlrd',
'xlwt',
'pyyaml',
Expand Down
2 changes: 0 additions & 2 deletions tablib/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
if is_py3:
from io import BytesIO
from io import StringIO
from tablib.packages import markup3 as markup
from statistics import median
from itertools import zip_longest as izip_longest
import csv
Expand All @@ -28,7 +27,6 @@
else:
from cStringIO import StringIO as BytesIO
from StringIO import StringIO
from tablib.packages import markup
from tablib.packages.statistics import median
from itertools import izip_longest
from backports import csv
Expand Down
5 changes: 2 additions & 3 deletions tablib/formats/_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@

if sys.version_info[0] > 2:
from io import BytesIO as StringIO
from tablib.packages import markup3 as markup
else:
from cStringIO import StringIO
from tablib.packages import markup

import codecs
from MarkupPy import markup
import tablib
from tablib.compat import unicode
import codecs

BOOK_ENDINGS = 'h3'

Expand Down
Loading

0 comments on commit e610486

Please sign in to comment.