🥚 🎡 release 0.5.11

This commit is contained in:
chfw 2018-12-04 07:06:56 +00:00
parent eb3b1c3353
commit 4595133923
8 changed files with 40 additions and 18 deletions

View File

@ -1,6 +1,15 @@
Change log
================================================================================
0.5.10 - 3.12.2018
--------------------------------------------------------------------------------
updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#. `#59 <https://github.com/pyexcel/pyexcel-io/issues/59>`_: Please use
scan_plugins_regex, which lml 0.7 complains about
0.5.10 - 27.11.2018
--------------------------------------------------------------------------------

View File

@ -1,6 +1,12 @@
name: pyexcel-io
organisation: pyexcel
releases:
- changes:
- action: updated
details:
- '`#59`: Please use scan_plugins_regex, which lml 0.7 complains about'
version: 0.5.10
date: 3.12.2018
- changes:
- action: added
details:

View File

@ -29,9 +29,9 @@ copyright = u'2015-2018 Onni Software Ltd.'
author = u'C.W.'
# The short X.Y version
version = u'0.5.10'
version = u'0.5.11'
# The full version, including alpha/beta/rc tags
release = u'0.5.10'
release = u'0.5.11'
# -- General configuration ---------------------------------------------------

View File

@ -1,12 +1,12 @@
overrides: "pyexcel.yaml"
name: "pyexcel-io"
nick_name: io
version: 0.5.10
current_version: 0.5.10
release: 0.5.10
version: 0.5.11
current_version: 0.5.11
release: 0.5.11
dependencies:
- ordereddict;python_version<"2.7"
- lml>=0.0.2
- lml>=0.0.4
extra_dependencies:
- xls:
- pyexcel-xls>=0.5.0

View File

@ -22,6 +22,10 @@ WHITE_LIST = [
"pyexcel_io.writers",
"pyexcel_io.database",
]
PREFIX = "pyexcel_"
PREFIX_PATTERN = "^pyexcel_.*$"
plugins.load_plugins(PREFIX, __path__, BLACK_LIST, WHITE_LIST)
plugins.load_plugins(
PREFIX_PATTERN,
__path__, # noqa: F821
BLACK_LIST,
WHITE_LIST)

View File

@ -7,7 +7,7 @@
:copyright: (c) 2014-2017 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details
"""
from lml.loader import scan_plugins
from lml.loader import scan_plugins_regex
from lml.plugin import PluginManager
from lml.plugin import PluginInfoChain, PluginInfo
@ -132,8 +132,11 @@ READERS = IOManager(READER_PLUGIN, ioutils.AVAILABLE_READERS)
WRITERS = IOManager(WRITER_PLUGIN, ioutils.AVAILABLE_WRITERS)
def load_plugins(prefix, path, black_list, white_list):
def load_plugins(plugin_name_patterns, path, black_list, white_list):
"""Try to discover all pyexcel-io plugins"""
scan_plugins(
prefix, path, black_list, white_list # constants.DEFAULT_PLUGIN_NAME,
scan_plugins_regex(
plugin_name_patterns=plugin_name_patterns,
pyinstaller_path=path,
black_list=black_list,
white_list=white_list
)

View File

@ -1,2 +1,2 @@
ordereddict;python_version<"2.7"
lml>=0.0.2
lml>=0.0.4

View File

@ -13,7 +13,7 @@ PY26 = PY2 and sys.version_info[1] < 7
NAME = 'pyexcel-io'
AUTHOR = 'C.W.'
VERSION = '0.5.10'
VERSION = '0.5.11'
EMAIL = 'wangc_2011@hotmail.com'
LICENSE = 'New BSD'
DESCRIPTION = (
@ -21,7 +21,7 @@ DESCRIPTION = (
'format and to/from databases'
)
URL = 'https://github.com/pyexcel/pyexcel-io'
DOWNLOAD_URL = '%s/archive/0.5.10.tar.gz' % URL
DOWNLOAD_URL = '%s/archive/0.5.11.tar.gz' % URL
FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [
'python',
@ -49,7 +49,7 @@ CLASSIFIERS = [
]
INSTALL_REQUIRES = [
'lml>=0.0.2',
'lml>=0.0.4',
]
SETUP_COMMANDS = {}
@ -65,8 +65,8 @@ EXTRAS_REQUIRE = {
# You do not need to read beyond this line
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format(
sys.executable)
GS_COMMAND = ('gs pyexcel-io v0.5.10 ' +
"Find 0.5.10 in changelog for more details")
GS_COMMAND = ('gs pyexcel-io v0.5.11 ' +
"Find 0.5.11 in changelog for more details")
NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
'Please install gease to enable it.')
UPLOAD_FAILED_MSG = (