🥚 🎡 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 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 0.5.10 - 27.11.2018
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View File

@ -1,6 +1,12 @@
name: pyexcel-io name: pyexcel-io
organisation: pyexcel organisation: pyexcel
releases: 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: - changes:
- action: added - action: added
details: details:

View File

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

View File

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

View File

@ -22,6 +22,10 @@ WHITE_LIST = [
"pyexcel_io.writers", "pyexcel_io.writers",
"pyexcel_io.database", "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. :copyright: (c) 2014-2017 by Onni Software Ltd.
:license: New BSD License, see LICENSE for more details :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 PluginManager
from lml.plugin import PluginInfoChain, PluginInfo from lml.plugin import PluginInfoChain, PluginInfo
@ -132,8 +132,11 @@ READERS = IOManager(READER_PLUGIN, ioutils.AVAILABLE_READERS)
WRITERS = IOManager(WRITER_PLUGIN, ioutils.AVAILABLE_WRITERS) 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""" """Try to discover all pyexcel-io plugins"""
scan_plugins( scan_plugins_regex(
prefix, path, black_list, white_list # constants.DEFAULT_PLUGIN_NAME, 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" 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' NAME = 'pyexcel-io'
AUTHOR = 'C.W.' AUTHOR = 'C.W.'
VERSION = '0.5.10' VERSION = '0.5.11'
EMAIL = 'wangc_2011@hotmail.com' EMAIL = 'wangc_2011@hotmail.com'
LICENSE = 'New BSD' LICENSE = 'New BSD'
DESCRIPTION = ( DESCRIPTION = (
@ -21,7 +21,7 @@ DESCRIPTION = (
'format and to/from databases' 'format and to/from databases'
) )
URL = 'https://github.com/pyexcel/pyexcel-io' 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'] FILES = ['README.rst', 'CHANGELOG.rst']
KEYWORDS = [ KEYWORDS = [
'python', 'python',
@ -49,7 +49,7 @@ CLASSIFIERS = [
] ]
INSTALL_REQUIRES = [ INSTALL_REQUIRES = [
'lml>=0.0.2', 'lml>=0.0.4',
] ]
SETUP_COMMANDS = {} SETUP_COMMANDS = {}
@ -65,8 +65,8 @@ EXTRAS_REQUIRE = {
# You do not need to read beyond this line # You do not need to read beyond this line
PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format( PUBLISH_COMMAND = '{0} setup.py sdist bdist_wheel upload -r pypi'.format(
sys.executable) sys.executable)
GS_COMMAND = ('gs pyexcel-io v0.5.10 ' + GS_COMMAND = ('gs pyexcel-io v0.5.11 ' +
"Find 0.5.10 in changelog for more details") "Find 0.5.11 in changelog for more details")
NO_GS_MESSAGE = ('Automatic github release is disabled. ' + NO_GS_MESSAGE = ('Automatic github release is disabled. ' +
'Please install gease to enable it.') 'Please install gease to enable it.')
UPLOAD_FAILED_MSG = ( UPLOAD_FAILED_MSG = (