Skip to content

Commit 477a48d

Browse files
committed
propagate the lml interface changes
1 parent b63e103 commit 477a48d

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ Support the project
250250
================================================================================
251251

252252
If your company has embedded pyexcel and its components into a revenue generating
253-
product, please `support me on patreon <https://www.patreon.com/pyexcel>`_ to
253+
product, please `support me on patreon <https://www.patreon.com/bePatron?u=5537627>`_ to
254254
maintain the project and develop it further.

pyexcel_xlsxw/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
# flake8: noqa
1111
# this line has to be place above all else
1212
# because of dynamic import
13-
from pyexcel_io.plugins import IORegistry
13+
from pyexcel_io.plugins import IOPluginInfoChain
1414
from pyexcel_io.io import get_data as read_data, isstream, store_data as write_data
1515

1616

1717
__FILE_TYPE__ = 'xlsx'
18-
IORegistry(__name__).add_a_writer(
19-
submodule='xlsxw.XLSXWriter',
18+
IOPluginInfoChain(__name__).add_a_writer(
19+
relative_plugin_class_path='xlsxw.XLSXWriter',
2020
file_types=[__FILE_TYPE__],
2121
stream_type='binary'
2222
)

pyexcel_xlsxw/xlsxw.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,3 @@ def close(self):
6666
This call actually save the file
6767
"""
6868
self._native_book.close()
69-
70-
71-
_XLSX_MIME = (
72-
"application/" +
73-
"vnd.openxmlformats-officedocument.spreadsheetml.sheet")
74-
75-
_xlsx_registry = {
76-
"file_type": "xlsx",
77-
"writer": XLSXWriter,
78-
"stream_type": "binary",
79-
"mime_type": _XLSX_MIME,
80-
"library": "pyexcel-xlsxw"
81-
}
82-
83-
exports = (_xlsx_registry,)

0 commit comments

Comments
 (0)